#AFACFB

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

Aa

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

About this color

#AFACFB is a medium-light, moderately saturated purple. In OKLCH its lightness is 78%, its chroma 0.112 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.11:1.

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

Values

HEX#AFACFB
RGBrgb(175, 172, 251)
HSLhsl(242, 91%, 83%)
OKLCHoklch(77.7% 0.112 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 #AFACFB 2.07:1 Fails Lc -45.1 Large or bold text, headings
Black text on #AFACFB 10.11:1 AAA Lc 63.4 Content text, not long reading
#AFACFB text on white 2.07:1 Fails Lc 40.5 Non-text elements, placeholder text
#AFACFB text on black 10.11:1 AAA Lc -61.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

    #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)

    #AFACFB

    oklch(77.7% 0.112 285.2)

  5. Step 400

    400

    #988FFF

    oklch(70.7% 0.16 285.2)

  6. Step 500

    500

    #826DFF

    oklch(63% 0.208 285.3)

  7. Step 600

    600

    #6F47FA

    oklch(55.5% 0.248 285.2)

  8. Step 700

    700

    #5E36DA

    oklch(49.1% 0.231 285.3)

  9. Step 800

    800

    #4C2FB0

    oklch(42.7% 0.191 285.3)

  10. Step 900

    900

    #3E2D8B

    oklch(37.7% 0.148 285.1)

  11. Step 950

    950

    #241C52

    oklch(27.1% 0.094 285)

Export this scale for Tailwind in the Tailwind colors tool

#AFACFB 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)#95B6FE0.039
Deuteranopia (no green cones)#93B2F90.038
Tritanopia (no blue cones)#9CBAC80.097
Achromatopsia (no color)#B4B4B40.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #AFACFB

    #AFACFB

    oklch(77.7% 0.112 285.2)

  • #C1BA61

    #C1BA61

    oklch(77.6% 0.112 104.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #AFACFB

    #AFACFB

    oklch(77.7% 0.112 285.2)

  • #85B9FD

    #85B9FD

    oklch(77.6% 0.112 255.5)

  • #D2A0E7

    #D2A0E7

    oklch(77.6% 0.112 315.7)

Open the analogous palette in the generator

Split complementary

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

  • #AFACFB

    #AFACFB

    oklch(77.7% 0.112 285.2)

  • #E0AC60

    #E0AC60

    oklch(77.7% 0.112 75.3)

  • #97C77D

    #97C77D

    oklch(77.8% 0.113 135.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #AFACFB

    #AFACFB

    oklch(77.7% 0.112 285.2)

  • #F29F79

    #F29F79

    oklch(77.7% 0.112 45.2)

  • #69CDA5

    #69CDA5

    oklch(77.7% 0.112 165.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #AFACFB

    #AFACFB

    oklch(77.7% 0.112 285.2)

  • #F5989F

    #F5989F

    oklch(77.6% 0.112 15.1)

  • #C1BA61

    #C1BA61

    oklch(77.6% 0.112 104.7)

  • #4ACCCD

    #4ACCCD

    oklch(77.6% 0.112 195.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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