#AFACFF

Closest named color: Pale Violet (#CEAEFA). oklch(77.8% 0.117 285), rgb(175, 172, 255).

Aa

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

About this color

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

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

Values

HEX#AFACFF
RGBrgb(175, 172, 255)
HSLhsl(242, 100%, 84%)
OKLCHoklch(77.8% 0.117 285)

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 #AFACFF 2.06:1 Fails Lc -44.8 Non-text elements, placeholder text
Black text on #AFACFF 10.16:1 AAA Lc 63.7 Content text, not long reading
#AFACFF text on white 2.06:1 Fails Lc 40.2 Non-text elements, placeholder text
#AFACFF text on black 10.16:1 AAA Lc -62.1 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)

    #AFACFF

    oklch(77.8% 0.117 285)

  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

    #6F44FF

    oklch(55.6% 0.257 285)

  8. Step 700

    700

    #5E31E0

    oklch(49.1% 0.242 285)

  9. Step 800

    800

    #4C2BB5

    oklch(42.6% 0.201 285)

  10. Step 900

    900

    #3E2B8F

    oklch(37.8% 0.156 284.8)

  11. Step 950

    950

    #241B54

    oklch(27.1% 0.099 284.9)

Export this scale for Tailwind in the Tailwind colors tool

#AFACFF 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)#94B7FF0.042
Deuteranopia (no green cones)#91B2FD0.040
Tritanopia (no blue cones)#9BBBCA0.101
Achromatopsia (no color)#B4B4B40.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACFF

    #AFACFF

    oklch(77.8% 0.117 285)

  • #C2BB5C

    #C2BB5C

    oklch(77.8% 0.118 105)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACFF

    #AFACFF

    oklch(77.8% 0.117 285)

  • #84BAFF

    #84BAFF

    oklch(77.8% 0.114 255)

  • #D3A0EB

    #D3A0EB

    oklch(77.9% 0.117 314.6)

Open the analogous palette in the generator

Split complementary

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

  • #AFACFF

    #AFACFF

    oklch(77.8% 0.117 285)

  • #E3AC5B

    #E3AC5B

    oklch(77.9% 0.118 75.1)

  • #96C87A

    #96C87A

    oklch(77.9% 0.118 135)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACFF

    #AFACFF

    oklch(77.8% 0.117 285)

  • #F59E77

    #F59E77

    oklch(77.8% 0.117 44.7)

  • #64CFA4

    #64CFA4

    oklch(77.9% 0.118 164.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACFF

    #AFACFF

    oklch(77.8% 0.117 285)

  • #F8979F

    #F8979F

    oklch(77.8% 0.117 14.8)

  • #C2BB5C

    #C2BB5C

    oklch(77.8% 0.118 105)

  • #40CECE

    #40CECE

    oklch(77.8% 0.117 195)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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