#C7BAFA

Closest named color: Light Violet (#D6B4FC). oklch(82.2% 0.09 293.6), rgb(199, 186, 250).

Aa

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

About this color

#C7BAFA is a light, moderately saturated purple. In OKLCH its lightness is 82%, its chroma 0.090 and its hue 294°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Violet (#D6B4FC), ΔE 0.026 away. Black text reads best on it, at 11.83:1.

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.83:1
White text1.77:1

Values

HEX#C7BAFA
RGBrgb(199, 186, 250)
HSLhsl(252, 86%, 85%)
OKLCHoklch(82.2% 0.09 293.6)

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 #C7BAFA 1.77:1 Fails Lc -36.6 Non-text elements, placeholder text
Black text on #C7BAFA 11.83:1 AAA Lc 71.2 Content text, not long reading
#C7BAFA text on white 1.77:1 Fails Lc 32.6 Non-text elements, placeholder text
#C7BAFA text on black 11.83:1 AAA Lc -70.0 Content text, not long reading

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

    #F6F4FD

    oklch(97.1% 0.012 296.4)

  2. Step 100

    100

    #EAE7FA

    oklch(93.6% 0.026 293.1)

  3. Step 200

    200

    #DAD4F8

    oklch(88.6% 0.049 293)

  4. Step 300

    300 (this color)

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  5. Step 400

    400

    #A68DF1

    oklch(70.7% 0.144 293.9)

  6. Step 500

    500

    #916DEC

    oklch(63% 0.184 293.5)

  7. Step 600

    600

    #7D51DA

    oklch(55.6% 0.199 293.7)

  8. Step 700

    700

    #6A40BD

    oklch(49% 0.186 293.9)

  9. Step 800

    800

    #563699

    oklch(42.7% 0.154 293.7)

  10. Step 900

    900

    #46307A

    oklch(37.6% 0.121 293.4)

  11. Step 950

    950

    #291D47

    oklch(26.9% 0.076 293.9)

Export this scale for Tailwind in the Tailwind colors tool

#C7BAFA 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)#ABC3FD0.041
Deuteranopia (no green cones)#ACC1F80.039
Tritanopia (no blue cones)#BDC4D00.075
Achromatopsia (no color)#C2C2C20.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BAFA

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  • #C4CC87

    #C4CC87

    oklch(82.3% 0.091 113.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BAFA

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  • #A7C5FF

    #A7C5FF

    oklch(82.2% 0.088 263.3)

  • #E2B1E6

    #E2B1E6

    oklch(82.1% 0.09 323.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7BAFA

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  • #E1C080

    #E1C080

    oklch(82.2% 0.09 83.3)

  • #A2D4A0

    #A2D4A0

    oklch(82.1% 0.089 143.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BAFA

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  • #F3B58D

    #F3B58D

    oklch(82.1% 0.09 53.9)

  • #84D8C0

    #84D8C0

    oklch(82.2% 0.089 173.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BAFA

    #C7BAFA

    oklch(82.2% 0.09 293.6)

  • #FAAEA9

    #FAAEA9

    oklch(82.2% 0.09 23.4)

  • #C4CC87

    #C4CC87

    oklch(82.3% 0.091 113.8)

  • #79D6DF

    #79D6DF

    oklch(82.2% 0.089 203.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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