#AFACFC

Closest named color: Pale Violet (#CEAEFA). oklch(77.7% 0.113 285.2), rgb(175, 172, 252).

Aa

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

About this color

#AFACFC is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.113 and its hue 285°. Its hue sits on the cool side of the wheel. The nearest named color is Pale Violet (#CEAEFA), ΔE 0.045 away. Black text reads best on it, at 10.12:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest namePale Violet (#CEAEFA)
Black text10.12:1
White text2.07:1

Values

HEX#AFACFC
RGBrgb(175, 172, 252)
HSLhsl(242, 93%, 83%)
OKLCHoklch(77.7% 0.113 285.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 #AFACFC 2.07:1 Fails Lc -45.0 Large or bold text, headings
Black text on #AFACFC 10.12:1 AAA Lc 63.5 Content text, not long reading
#AFACFC text on white 2.07:1 Fails Lc 40.4 Non-text elements, placeholder text
#AFACFC text on black 10.12:1 AAA Lc -61.9 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

    #F4F4FF

    oklch(97% 0.015 286.1)

  2. Step 100

    100

    #E7E7FF

    oklch(93.5% 0.032 285.8)

  3. Step 200

    200

    #D4D4FF

    oklch(88.4% 0.059 285.1)

  4. Step 300

    300 (this color)

    #AFACFC

    oklch(77.7% 0.113 285.2)

  5. Step 400

    400

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500

    #826EFF

    oklch(63.2% 0.207 285.1)

  7. Step 600

    600

    #6F46FC

    oklch(55.6% 0.252 285.1)

  8. Step 700

    700

    #5E35DC

    oklch(49.2% 0.234 285.2)

  9. Step 800

    800

    #4C2EB1

    oklch(42.6% 0.193 285.3)

  10. Step 900

    900

    #3E2C8C

    oklch(37.6% 0.151 285.1)

  11. Step 950

    950

    #241B52

    oklch(26.9% 0.096 285.5)

Export this scale for Tailwind in the Tailwind colors tool

#AFACFC 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)#95B6FF0.039
Deuteranopia (no green cones)#93B2FA0.038
Tritanopia (no blue cones)#9CBBC90.098
Achromatopsia (no color)#B4B4B40.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACFC

    #AFACFC

    oklch(77.7% 0.113 285.2)

  • #C1BB60

    #C1BB60

    oklch(77.8% 0.114 105.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACFC

    #AFACFC

    oklch(77.7% 0.113 285.2)

  • #84B9FE

    #84B9FE

    oklch(77.6% 0.114 255.4)

  • #D2A0E8

    #D2A0E8

    oklch(77.7% 0.113 315.3)

Open the analogous palette in the generator

Split complementary

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

  • #AFACFC

    #AFACFC

    oklch(77.7% 0.113 285.2)

  • #E1AC5F

    #E1AC5F

    oklch(77.8% 0.113 75)

  • #97C77D

    #97C77D

    oklch(77.8% 0.113 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACFC

    #AFACFC

    oklch(77.7% 0.113 285.2)

  • #F39F79

    #F39F79

    oklch(77.8% 0.113 45)

  • #68CDA5

    #68CDA5

    oklch(77.6% 0.112 165.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACFC

    #AFACFC

    oklch(77.7% 0.113 285.2)

  • #F6989F

    #F6989F

    oklch(77.8% 0.113 15.2)

  • #C1BB60

    #C1BB60

    oklch(77.8% 0.114 105.4)

  • #48CDCD

    #48CDCD

    oklch(77.8% 0.113 195.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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