#C7BAFF

Closest named color: Light Violet (#D6B4FC). oklch(82.4% 0.097 292.8), rgb(199, 186, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (82%)
Chromamoderately saturated (0.097)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text11.89:1
White text1.76:1

Values

HEX#C7BAFF
RGBrgb(199, 186, 255)
HSLhsl(251, 100%, 86%)
OKLCHoklch(82.4% 0.097 292.8)

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 #C7BAFF 1.76:1 Fails Lc -36.3 Non-text elements, placeholder text
Black text on #C7BAFF 11.89:1 AAA Lc 71.5 Content text, not long reading
#C7BAFF text on white 1.76:1 Fails Lc 32.4 Non-text elements, placeholder text
#C7BAFF text on black 11.89:1 AAA Lc -70.3 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

    #F5F4FE

    oklch(97.1% 0.013 290.8)

  2. Step 100

    100

    #EAE7FB

    oklch(93.6% 0.027 292.8)

  3. Step 200

    200

    #DAD3FA

    oklch(88.5% 0.054 293.5)

  4. Step 300

    300 (this color)

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  5. Step 400

    400

    #A58CF7

    oklch(70.7% 0.154 292.8)

  6. Step 500

    500

    #916AF4

    oklch(63.1% 0.198 292.9)

  7. Step 600

    600

    #7D4DE2

    oklch(55.6% 0.214 292.9)

  8. Step 700

    700

    #6A3CC5

    oklch(49.1% 0.2 292.9)

  9. Step 800

    800

    #56339F

    oklch(42.7% 0.165 292.9)

  10. Step 900

    900

    #462F7E

    oklch(37.7% 0.128 292.6)

  11. Step 950

    950

    #291C4A

    oklch(27% 0.082 293.1)

Export this scale for Tailwind in the Tailwind colors tool

#C7BAFF 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)#A9C4FF0.045
Deuteranopia (no green cones)#AAC2FD0.042
Tritanopia (no blue cones)#BCC5D20.081
Achromatopsia (no color)#C3C3C30.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #C7BAFF

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  • #C6CC82

    #C6CC82

    oklch(82.3% 0.096 112.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #C7BAFF

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  • #A7C6FF

    #A7C6FF

    oklch(82.4% 0.088 262.4)

  • #E4B1EA

    #E4B1EA

    oklch(82.5% 0.096 322.9)

Open the analogous palette in the generator

Split complementary

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

  • #C7BAFF

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  • #E4C07B

    #E4C07B

    oklch(82.4% 0.097 82.9)

  • #A1D69C

    #A1D69C

    oklch(82.4% 0.097 142.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #C7BAFF

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  • #F8B48A

    #F8B48A

    oklch(82.4% 0.097 52.6)

  • #7FDABF

    #7FDABF

    oklch(82.4% 0.096 172.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #C7BAFF

    #C7BAFF

    oklch(82.4% 0.097 292.8)

  • #FEADA8

    #FEADA8

    oklch(82.4% 0.096 23.3)

  • #C6CC82

    #C6CC82

    oklch(82.3% 0.096 112.3)

  • #71D8E1

    #71D8E1

    oklch(82.4% 0.097 203)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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