#B997F2

Closest named color: Baby Purple (#CA9BF7). oklch(74.2% 0.132 300.4), rgb(185, 151, 242).

Aa

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

About this color

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

Hue familyPurples
Lightnessmedium-light (74%)
Chromamoderately saturated (0.132)
Temperaturein between
Nearest nameBaby Purple (#CA9BF7)
Black text8.77:1
White text2.39:1

Values

HEX#B997F2
RGBrgb(185, 151, 242)
HSLhsl(262, 78%, 77%)
OKLCHoklch(74.2% 0.132 300.4)

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 #B997F2 2.39:1 Fails Lc -52.0 Large or bold text, headings
Black text on #B997F2 8.77:1 AAA Lc 56.9 Large or bold text, headings
#B997F2 text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#B997F2 text on black 8.77:1 AAA Lc -55.0 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

    #F6F4FC

    oklch(97.1% 0.011 297.6)

  2. Step 100

    100

    #ECE7F8

    oklch(93.7% 0.023 299.4)

  3. Step 200

    200

    #DED3F4

    oklch(88.6% 0.046 300.7)

  4. Step 300

    300

    #C9B5EF

    oklch(81% 0.083 300.3)

  5. Step 400

    400 (this color)

    #B997F2

    oklch(74.2% 0.132 300.4)

  6. Step 500

    500

    #9B6DDF

    oklch(63.2% 0.169 300.3)

  7. Step 600

    600

    #8651CC

    oklch(55.5% 0.184 300.3)

  8. Step 700

    700

    #7241B1

    oklch(49.1% 0.171 300.3)

  9. Step 800

    800

    #5D368F

    oklch(42.7% 0.142 300.7)

  10. Step 900

    900

    #4C3072

    oklch(37.7% 0.11 300.8)

  11. Step 950

    950

    #2C1D43

    oklch(27% 0.07 300)

Export this scale for Tailwind in the Tailwind colors tool

#B997F2 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)#81A7F50.081
Deuteranopia (no green cones)#87A7F00.076
Tritanopia (no blue cones)#AFA6B90.104
Achromatopsia (no color)#A7A7A70.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #B997F2

    #B997F2

    oklch(74.2% 0.132 300.4)

  • #A0B850

    #A0B850

    oklch(74.3% 0.133 120.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B997F2

    #B997F2

    oklch(74.2% 0.132 300.4)

  • #8CA6FF

    #8CA6FF

    oklch(74.2% 0.132 270.6)

  • #DA8BD3

    #DA8BD3

    oklch(74.1% 0.133 330)

Open the analogous palette in the generator

Split complementary

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

  • #B997F2

    #B997F2

    oklch(74.2% 0.132 300.4)

  • #CBA737

    #CBA737

    oklch(74.1% 0.132 90.5)

  • #67C37F

    #67C37F

    oklch(74.3% 0.132 150.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B997F2

    #B997F2

    oklch(74.2% 0.132 300.4)

  • #E7964C

    #E7964C

    oklch(74.1% 0.132 60.8)

  • #11C6AF

    #11C6AF

    oklch(74.2% 0.132 180.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B997F2

    #B997F2

    oklch(74.2% 0.132 300.4)

  • #F38978

    #F38978

    oklch(74.1% 0.133 30.2)

  • #A0B850

    #A0B850

    oklch(74.3% 0.133 120.6)

  • #00C1D8

    #00C1D8

    oklch(74.3% 0.128 209.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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