#B797D4

Closest named color: Pale Purple (#B790D4). oklch(72.7% 0.093 308.1), rgb(183, 151, 212).

Aa

Black text reads best on this color (8.39:1).

About this color

#B797D4 is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.093 and its hue 308°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Purple (#B790D4), ΔE 0.018 away. Black text reads best on it, at 8.39:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.093)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.39:1
White text2.50:1

Values

HEX#B797D4
RGBrgb(183, 151, 212)
HSLhsl(271, 41%, 71%)
OKLCHoklch(72.7% 0.093 308.1)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B797D4 2.50:1 Fails Lc -54.2 Large or bold text, headings
Black text on #B797D4 8.39:1 AAA Lc 54.9 Large or bold text, headings
#B797D4 text on white 2.50:1 Fails Lc 49.1 Large or bold text, headings
#B797D4 text on black 8.39:1 AAA Lc -52.9 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F7F4FA

    oklch(97.1% 0.009 308.4)

  2. Step 100

    100

    #EDE7F3

    oklch(93.6% 0.017 308.3)

  3. Step 200

    200

    #DFD4EA

    oklch(88.5% 0.032 308.1)

  4. Step 300

    300

    #CBB7DE

    oklch(80.9% 0.058 308.2)

  5. Step 400

    400 (this color)

    #B797D4

    oklch(72.7% 0.093 308.1)

  6. Step 500

    500

    #9E75C1

    oklch(63.2% 0.119 308.1)

  7. Step 600

    600

    #885CAD

    oklch(55.6% 0.129 307.8)

  8. Step 700

    700

    #744B94

    oklch(49.1% 0.12 308.5)

  9. Step 800

    800

    #5E3E78

    oklch(42.6% 0.099 308.2)

  10. Step 900

    900

    #4D3561

    oklch(37.6% 0.078 308.2)

  11. Step 950

    950

    #2D1F39

    oklch(26.9% 0.05 308.1)

Export this scale for Tailwind in the Tailwind colors tool

#B797D4 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#8CA2D60.064
Deuteranopia (no green cones)#93A4D20.059
Tritanopia (no blue cones)#B39FAD0.068
Achromatopsia (no color)#A4A4A40.093

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B797D4

    #B797D4

    oklch(72.7% 0.093 308.1)

  • #96B272

    #96B272

    oklch(72.7% 0.093 127.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B797D4

    #B797D4

    oklch(72.7% 0.093 308.1)

  • #99A1E1

    #99A1E1

    oklch(72.7% 0.093 278.3)

  • #CD90BB

    #CD90BB

    oklch(72.6% 0.093 337.9)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B797D4

    #B797D4

    oklch(72.7% 0.093 308.1)

  • #B6A861

    #B6A861

    oklch(72.8% 0.093 98.4)

  • #72B991

    #72B991

    oklch(72.8% 0.093 158.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B797D4

    #B797D4

    oklch(72.7% 0.093 308.1)

  • #CE9C65

    #CE9C65

    oklch(72.8% 0.093 68.1)

  • #58BAB2

    #58BAB2

    oklch(72.8% 0.093 188.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B797D4

    #B797D4

    oklch(72.7% 0.093 308.1)

  • #DA927C

    #DA927C

    oklch(72.7% 0.093 37.7)

  • #96B272

    #96B272

    oklch(72.7% 0.093 127.8)

  • #5BB5CE

    #5BB5CE

    oklch(72.7% 0.093 218.4)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B797D4, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B797D4 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.