#B791EF

Closest named color: Liliac (#C48EFD). oklch(72.8% 0.138 301.7), rgb(183, 145, 239).

Aa

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

About this color

#B791EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 73%, its chroma 0.138 and its hue 302°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Liliac (#C48EFD), ΔE 0.030 away. Black text reads best on it, at 8.31:1.

Hue familyPurples
Lightnessmedium-light (73%)
Chromamoderately saturated (0.138)
Temperaturein between
Nearest nameLiliac (#C48EFD)
Black text8.31:1
White text2.52:1

Values

HEX#B791EF
RGBrgb(183, 145, 239)
HSLhsl(264, 75%, 75%)
OKLCHoklch(72.8% 0.138 301.7)

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 #B791EF 2.52:1 Fails Lc -54.5 Large or bold text, headings
Black text on #B791EF 8.31:1 AAA Lc 54.6 Large or bold text, headings
#B791EF text on white 2.52:1 Fails Lc 49.4 Large or bold text, headings
#B791EF text on black 8.31:1 AAA Lc -52.5 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

    #F7F4FC

    oklch(97.2% 0.011 303.1)

  2. Step 100

    100

    #EDE6F8

    oklch(93.6% 0.025 303.5)

  3. Step 200

    200

    #DED2F4

    oklch(88.4% 0.048 301.5)

  4. Step 300

    300

    #CAB4F0

    oklch(80.9% 0.086 301.3)

  5. Step 400

    400 (this color)

    #B791EF

    oklch(72.8% 0.138 301.7)

  6. Step 500

    500

    #9E6AE1

    oklch(63.1% 0.176 301.7)

  7. Step 600

    600

    #894ECE

    oklch(55.5% 0.191 301.7)

  8. Step 700

    700

    #753EB3

    oklch(49.2% 0.178 301.8)

  9. Step 800

    800

    #5F3491

    oklch(42.8% 0.148 301.7)

  10. Step 900

    900

    #4D2F73

    oklch(37.7% 0.114 301.5)

  11. Step 950

    950

    #2D1C44

    oklch(27% 0.073 301.3)

Export this scale for Tailwind in the Tailwind colors tool

#B791EF 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)#7AA2F30.088
Deuteranopia (no green cones)#81A3ED0.083
Tritanopia (no blue cones)#ADA0B50.105
Achromatopsia (no color)#A3A3A30.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #B791EF

    #B791EF

    oklch(72.8% 0.138 301.7)

  • #99B448

    #99B448

    oklch(72.7% 0.138 121.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B791EF

    #B791EF

    oklch(72.8% 0.138 301.7)

  • #89A0FD

    #89A0FD

    oklch(72.7% 0.138 272.1)

  • #D985CE

    #D985CE

    oklch(72.9% 0.138 331.7)

Open the analogous palette in the generator

Split complementary

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

  • #B791EF

    #B791EF

    oklch(72.8% 0.138 301.7)

  • #C7A328

    #C7A328

    oklch(72.8% 0.138 91.3)

  • #5BBF7B

    #5BBF7B

    oklch(72.7% 0.137 152)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B791EF

    #B791EF

    oklch(72.8% 0.138 301.7)

  • #E49140

    #E49140

    oklch(72.8% 0.138 61.7)

  • #00C1AD

    #00C1AD

    oklch(72.8% 0.13 182)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B791EF

    #B791EF

    oklch(72.8% 0.138 301.7)

  • #F1846F

    #F1846F

    oklch(72.9% 0.138 32)

  • #99B448

    #99B448

    oklch(72.7% 0.138 121.7)

  • #00BBD5

    #00BBD5

    oklch(72.7% 0.127 212.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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