#B7A2EF

Closest named color: Baby Purple (#CA9BF7). oklch(75.9% 0.111 296.2), rgb(183, 162, 239).

Aa

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

About this color

#B7A2EF is a medium-light, moderately saturated purple. In OKLCH its lightness is 76%, its chroma 0.111 and its hue 296°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Baby Purple (#CA9BF7), ΔE 0.036 away. Black text reads best on it, at 9.42:1.

Hue familyPurples
Lightnessmedium-light (76%)
Chromamoderately saturated (0.111)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text9.42:1
White text2.22:1

Values

HEX#B7A2EF
RGBrgb(183, 162, 239)
HSLhsl(256, 71%, 79%)
OKLCHoklch(75.9% 0.111 296.2)

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 #B7A2EF 2.22:1 Fails Lc -48.6 Large or bold text, headings
Black text on #B7A2EF 9.42:1 AAA Lc 60.1 Content text, not long reading
#B7A2EF text on white 2.22:1 Fails Lc 43.8 Non-text elements, placeholder text
#B7A2EF text on black 9.42:1 AAA Lc -58.3 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 300.

  1. Step 50

    50

    #F6F4FF

    oklch(97.2% 0.015 294.5)

  2. Step 100

    100

    #EBE6FD

    oklch(93.6% 0.031 295.8)

  3. Step 200

    200

    #DCD2FE

    oklch(88.6% 0.061 295.5)

  4. Step 300

    300 (this color)

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  5. Step 400

    400

    #AC86FF

    oklch(70.8% 0.174 296.2)

  6. Step 500

    500

    #9A5FFF

    oklch(63.1% 0.226 296.3)

  7. Step 600

    600

    #863DEE

    oklch(55.6% 0.245 296.1)

  8. Step 700

    700

    #722CCF

    oklch(49.1% 0.228 296.2)

  9. Step 800

    800

    #5D28A8

    oklch(42.8% 0.189 296.2)

  10. Step 900

    900

    #4B2885

    oklch(37.8% 0.147 295.8)

  11. Step 950

    950

    #2C194E

    oklch(27.1% 0.093 296.1)

Export this scale for Tailwind in the Tailwind colors tool

#B7A2EF 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)#8FAEF20.058
Deuteranopia (no green cones)#92ADED0.055
Tritanopia (no blue cones)#ACAFBE0.090
Achromatopsia (no color)#AEAEAE0.111

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7A2EF

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  • #ADBA65

    #ADBA65

    oklch(76% 0.111 116.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7A2EF

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  • #90AFF7

    #90AFF7

    oklch(75.9% 0.11 266)

  • #D598D6

    #D598D6

    oklch(75.9% 0.11 326.1)

Open the analogous palette in the generator

Split complementary

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

  • #B7A2EF

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  • #D0AC58

    #D0AC58

    oklch(76% 0.111 86.4)

  • #81C486

    #81C486

    oklch(75.9% 0.111 146.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7A2EF

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  • #E69E69

    #E69E69

    oklch(75.9% 0.11 56.5)

  • #55C8AE

    #55C8AE

    oklch(76% 0.111 175.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7A2EF

    #B7A2EF

    oklch(75.9% 0.111 296.2)

  • #EF958B

    #EF958B

    oklch(76% 0.11 26.8)

  • #ADBA65

    #ADBA65

    oklch(76% 0.111 116.2)

  • #46C4D3

    #46C4D3

    oklch(75.8% 0.11 206.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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