#CFABFF

Closest named color: Pale Violet (#CEAEFA). oklch(80.3% 0.122 303.4), rgb(207, 171, 255).

Aa

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

About this color

#CFABFF is a light, moderately saturated purple. In OKLCH its lightness is 80%, its chroma 0.122 and its hue 303°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.012 away. Black text reads best on it, at 10.92:1.

Hue familyPurples
Lightnesslight (80%)
Chromamoderately saturated (0.122)
Temperaturein between
Nearest namePale Violet (#CEAEFA)
Black text10.92:1
White text1.92:1

Values

HEX#CFABFF
RGBrgb(207, 171, 255)
HSLhsl(266, 100%, 84%)
OKLCHoklch(80.3% 0.122 303.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 #CFABFF 1.92:1 Fails Lc -41.0 Non-text elements, placeholder text
Black text on #CFABFF 10.92:1 AAA Lc 67.2 Content text, not long reading
#CFABFF text on white 1.92:1 Fails Lc 36.7 Non-text elements, placeholder text
#CFABFF text on black 10.92:1 AAA Lc -65.8 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

    #F8F3FF

    oklch(97.1% 0.017 304.8)

  2. Step 100

    100

    #EEE5FE

    oklch(93.6% 0.035 302.1)

  3. Step 200

    200

    #E2CFFE

    oklch(88.5% 0.067 303.4)

  4. Step 300

    300 (this color)

    #CFABFF

    oklch(80.3% 0.122 303.4)

  5. Step 400

    400

    #BA7DFF

    oklch(70.6% 0.189 303.6)

  6. Step 500

    500

    #AA52FF

    oklch(63.1% 0.245 303.3)

  7. Step 600

    600

    #9723F0

    oklch(55.6% 0.271 303.4)

  8. Step 700

    700

    #810CD1

    oklch(49.1% 0.252 303.3)

  9. Step 800

    800

    #6915A9

    oklch(42.8% 0.208 303.4)

  10. Step 900

    900

    #551E86

    oklch(37.8% 0.162 303.4)

  11. Step 950

    950

    #32144E

    oklch(27.1% 0.102 304)

Export this scale for Tailwind in the Tailwind colors tool

#CFABFF 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)#99BAFF0.078
Deuteranopia (no green cones)#A0BBFD0.073
Tritanopia (no blue cones)#C7B8CA0.094
Achromatopsia (no color)#BBBBBB0.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #CFABFF

    #CFABFF

    oklch(80.3% 0.122 303.4)

  • #AFCC71

    #AFCC71

    oklch(80.3% 0.122 123.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #CFABFF

    #CFABFF

    oklch(80.3% 0.122 303.4)

  • #AABBFF

    #AABBFF

    oklch(80.4% 0.098 273.2)

  • #EEA1E0

    #EEA1E0

    oklch(80.4% 0.121 333.3)

Open the analogous palette in the generator

Split complementary

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

  • #CFABFF

    #CFABFF

    oklch(80.3% 0.122 303.4)

  • #D9BD5B

    #D9BD5B

    oklch(80.3% 0.122 93.6)

  • #7CD69A

    #7CD69A

    oklch(80.4% 0.122 153.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #CFABFF

    #CFABFF

    oklch(80.3% 0.122 303.4)

  • #F6AD67

    #F6AD67

    oklch(80.3% 0.122 63.4)

  • #4CD8C7

    #4CD8C7

    oklch(80.3% 0.122 183.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #CFABFF

    #CFABFF

    oklch(80.3% 0.122 303.4)

  • #FFA38E

    #FFA38E

    oklch(80.3% 0.114 33.6)

  • #AFCC71

    #AFCC71

    oklch(80.3% 0.122 123.6)

  • #48D3EE

    #48D3EE

    oklch(80.4% 0.122 213.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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