#F0AFF8

Closest named color: Light Violet (#D6B4FC). oklch(83.8% 0.121 322.8), rgb(240, 175, 248).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.121)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.19:1
White text1.72:1

Values

HEX#F0AFF8
RGBrgb(240, 175, 248)
HSLhsl(293, 84%, 83%)
OKLCHoklch(83.8% 0.121 322.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 #F0AFF8 1.72:1 Fails Lc -34.8 Non-text elements, placeholder text
Black text on #F0AFF8 12.19:1 AAA Lc 72.9 Content text, not long reading
#F0AFF8 text on white 1.72:1 Fails Lc 31.0 Non-text elements, placeholder text
#F0AFF8 text on black 12.19:1 AAA Lc -71.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

    #FBF2FC

    oklch(97.1% 0.016 322.7)

  2. Step 100

    100

    #F6E3F8

    oklch(93.7% 0.035 322.9)

  3. Step 200

    200

    #EFCBF3

    oklch(88.5% 0.066 322.9)

  4. Step 300

    300 (this color)

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  5. Step 400

    400

    #D870E5

    oklch(70.7% 0.194 323.1)

  6. Step 500

    500

    #CB3EDE

    oklch(63.1% 0.248 322.7)

  7. Step 600

    600

    #B500C9

    oklch(55.6% 0.263 322.8)

  8. Step 700

    700

    #9900AA

    oklch(49.1% 0.232 322.8)

  9. Step 800

    800

    #7E008D

    oklch(42.7% 0.202 322.5)

  10. Step 900

    900

    #671172

    oklch(37.7% 0.162 322.7)

  11. Step 950

    950

    #3C0E43

    oklch(26.9% 0.103 322.1)

Export this scale for Tailwind in the Tailwind colors tool

#F0AFF8 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)#A8C0FB0.105
Deuteranopia (no green cones)#B7C8F60.098
Tritanopia (no blue cones)#F3B6C90.074
Achromatopsia (no color)#C5C5C50.122

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0AFF8

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  • #9ADE95

    #9ADE95

    oklch(83.7% 0.121 142.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0AFF8

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  • #CBC0FF

    #CBC0FF

    oklch(83.8% 0.088 292.4)

  • #FFAED0

    #FFAED0

    oklch(83.8% 0.103 352.7)

Open the analogous palette in the generator

Split complementary

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

  • #F0AFF8

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  • #CAD272

    #CAD272

    oklch(83.7% 0.121 112.9)

  • #69E4C2

    #69E4C2

    oklch(83.9% 0.121 172.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0AFF8

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  • #F0C268

    #F0C268

    oklch(83.7% 0.12 82.6)

  • #52E1ED

    #52E1ED

    oklch(83.9% 0.121 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0AFF8

    #F0AFF8

    oklch(83.8% 0.121 322.8)

  • #FFB88B

    #FFB88B

    oklch(83.9% 0.102 53.2)

  • #9ADE95

    #9ADE95

    oklch(83.7% 0.121 142.8)

  • #87D5FF

    #87D5FF

    oklch(83.8% 0.097 233.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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