#B797EB

Closest named color: Pale Purple (#B790D4). oklch(73.7% 0.123 301), rgb(183, 151, 235).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.123)
Temperaturein between
Nearest namePale Purple (#B790D4)
Black text8.63:1
White text2.43:1

Values

HEX#B797EB
RGBrgb(183, 151, 235)
HSLhsl(263, 68%, 76%)
OKLCHoklch(73.7% 0.123 301)

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 #B797EB 2.43:1 Fails Lc -52.8 Large or bold text, headings
Black text on #B797EB 8.63:1 AAA Lc 56.2 Large or bold text, headings
#B797EB text on white 2.43:1 Fails Lc 47.8 Large or bold text, headings
#B797EB text on black 8.63:1 AAA Lc -54.2 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

    #F6F4FB

    oklch(97.1% 0.009 299.2)

  2. Step 100

    100

    #ECE7F7

    oklch(93.7% 0.022 300.2)

  3. Step 200

    200

    #DDD3F2

    oklch(88.4% 0.043 300.2)

  4. Step 300

    300

    #C9B6EB

    oklch(81% 0.076 301.1)

  5. Step 400

    400 (this color)

    #B797EB

    oklch(73.7% 0.123 301)

  6. Step 500

    500

    #9A6FD8

    oklch(63% 0.157 300.9)

  7. Step 600

    600

    #8655C6

    oklch(55.7% 0.171 301)

  8. Step 700

    700

    #7144AB

    oklch(49% 0.159 300.8)

  9. Step 800

    800

    #5C398A

    oklch(42.7% 0.131 300.9)

  10. Step 900

    900

    #4B326F

    oklch(37.7% 0.103 300.5)

  11. Step 950

    950

    #2C1E41

    oklch(27.1% 0.065 300.6)

Export this scale for Tailwind in the Tailwind colors tool

#B797EB 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)#83A6EE0.076
Deuteranopia (no green cones)#89A6E90.071
Tritanopia (no blue cones)#AEA4B60.096
Achromatopsia (no color)#A6A6A60.123

Harmonies

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

Complementary

The opposite hue (180°).

  • #B797EB

    #B797EB

    oklch(73.7% 0.123 301)

  • #9EB658

    #9EB658

    oklch(73.8% 0.124 121.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B797EB

    #B797EB

    oklch(73.7% 0.123 301)

  • #8DA5F7

    #8DA5F7

    oklch(73.7% 0.122 270.8)

  • #D68CCD

    #D68CCD

    oklch(73.6% 0.123 331.1)

Open the analogous palette in the generator

Split complementary

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

  • #B797EB

    #B797EB

    oklch(73.7% 0.123 301)

  • #C7A643

    #C7A643

    oklch(73.6% 0.122 90.5)

  • #6BC081

    #6BC081

    oklch(73.8% 0.123 150.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B797EB

    #B797EB

    oklch(73.7% 0.123 301)

  • #E19753

    #E19753

    oklch(73.7% 0.123 61.6)

  • #2FC3AE

    #2FC3AE

    oklch(73.8% 0.123 180.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B797EB

    #B797EB

    oklch(73.7% 0.123 301)

  • #ED8B7A

    #ED8B7A

    oklch(73.7% 0.123 30.7)

  • #9EB658

    #9EB658

    oklch(73.8% 0.124 121.4)

  • #20BED5

    #20BED5

    oklch(73.7% 0.123 210.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #B797EB 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.