#F0AFF7

Closest named color: Light Violet (#D6B4FC). oklch(83.8% 0.12 323.3), rgb(240, 175, 247).

Aa

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

About this color

#F0AFF7 is a light, moderately saturated purple. In OKLCH its lightness is 84%, its chroma 0.120 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.18:1.

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

Values

HEX#F0AFF7
RGBrgb(240, 175, 247)
HSLhsl(294, 82%, 83%)
OKLCHoklch(83.8% 0.12 323.3)

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 #F0AFF7 1.72:1 Fails Lc -34.9 Non-text elements, placeholder text
Black text on #F0AFF7 12.18:1 AAA Lc 72.8 Content text, not long reading
#F0AFF7 text on white 1.72:1 Fails Lc 31.0 Non-text elements, placeholder text
#F0AFF7 text on black 12.18:1 AAA Lc -71.7 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)

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  5. Step 400

    400

    #D870E4

    oklch(70.6% 0.193 323.4)

  6. Step 500

    500

    #CB3FDC

    oklch(63% 0.246 323.2)

  7. Step 600

    600

    #B600C8

    oklch(55.6% 0.262 323.3)

  8. Step 700

    700

    #9A00A9

    oklch(49.2% 0.232 323.5)

  9. Step 800

    800

    #7F008C

    oklch(42.8% 0.202 323.3)

  10. Step 900

    900

    #671271

    oklch(37.7% 0.161 323.2)

  11. Step 950

    950

    #3D0E42

    oklch(27% 0.102 323.7)

Export this scale for Tailwind in the Tailwind colors tool

#F0AFF7 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)#A8C0FA0.105
Deuteranopia (no green cones)#B8C8F50.097
Tritanopia (no blue cones)#F3B6C90.073
Achromatopsia (no color)#C5C5C50.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0AFF7

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  • #9ADE96

    #9ADE96

    oklch(83.7% 0.12 143.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0AFF7

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  • #CCBFFF

    #CCBFFF

    oklch(83.7% 0.089 293.7)

  • #FFAECF

    #FFAECF

    oklch(83.8% 0.103 353.4)

Open the analogous palette in the generator

Split complementary

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

  • #F0AFF7

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  • #CAD273

    #CAD273

    oklch(83.7% 0.12 112.9)

  • #69E3C3

    #69E3C3

    oklch(83.7% 0.12 173.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0AFF7

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  • #F0C368

    #F0C368

    oklch(83.9% 0.121 83.3)

  • #53E1ED

    #53E1ED

    oklch(83.9% 0.121 203.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0AFF7

    #F0AFF7

    oklch(83.8% 0.12 323.3)

  • #FFB88A

    #FFB88A

    oklch(83.9% 0.102 53.8)

  • #9ADE96

    #9ADE96

    oklch(83.7% 0.12 143.1)

  • #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 #F0AFF7, closest first.

Similar named colors

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

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