#F0AFFF

Closest named color: Light Violet (#D6B4FC). oklch(84.1% 0.128 319.9), rgb(240, 175, 255).

Aa

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

About this color

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

Hue familyPurples
Lightnesslight (84%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameLight Violet (#D6B4FC)
Black text12.28:1
White text1.70:1

Values

HEX#F0AFFF
RGBrgb(240, 175, 255)
HSLhsl(289, 100%, 84%)
OKLCHoklch(84.1% 0.128 319.9)

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 #F0AFFF 1.70:1 Fails Lc -34.4 Non-text elements, placeholder text
Black text on #F0AFFF 12.28:1 AAA Lc 73.3 Content text, not long reading
#F0AFFF text on white 1.70:1 Fails Lc 30.6 Non-text elements, placeholder text
#F0AFFF text on black 12.28:1 AAA Lc -72.2 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

    #FBF2FD

    oklch(97.1% 0.017 320.1)

  2. Step 100

    100

    #F5E2FA

    oklch(93.5% 0.038 319.2)

  3. Step 200

    200

    #EFCBF7

    oklch(88.6% 0.071 320.1)

  4. Step 300

    300 (this color)

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  5. Step 400

    400

    #D76EEE

    oklch(70.8% 0.205 320.2)

  6. Step 500

    500

    #CA37E9

    oklch(63.1% 0.263 319.8)

  7. Step 600

    600

    #B200D0

    oklch(55.6% 0.267 320.1)

  8. Step 700

    700

    #9600B0

    oklch(49% 0.235 320)

  9. Step 800

    800

    #7C0092

    oklch(42.7% 0.205 319.9)

  10. Step 900

    900

    #660B78

    oklch(37.7% 0.171 319.8)

  11. Step 950

    950

    #3C0C46

    oklch(27% 0.108 320)

Export this scale for Tailwind in the Tailwind colors tool

#F0AFFF 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)#A6C1FF0.109
Deuteranopia (no green cones)#B5C8FC0.100
Tritanopia (no blue cones)#F1B8CC0.083
Achromatopsia (no color)#C6C6C60.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #F0AFFF

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  • #9DDF8E

    #9DDF8E

    oklch(84% 0.128 139.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F0AFFF

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  • #C9C2FF

    #C9C2FF

    oklch(84.1% 0.085 289.7)

  • #FFAFD4

    #FFAFD4

    oklch(84.1% 0.104 350.3)

Open the analogous palette in the generator

Split complementary

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

  • #F0AFFF

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  • #D0D269

    #D0D269

    oklch(84.1% 0.129 109.9)

  • #65E6BE

    #65E6BE

    oklch(84.1% 0.129 169.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F0AFFF

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  • #F7C161

    #F7C161

    oklch(84.1% 0.129 79.9)

  • #43E4EC

    #43E4EC

    oklch(84.2% 0.129 200)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F0AFFF

    #F0AFFF

    oklch(84.1% 0.128 319.9)

  • #FFB992

    #FFB992

    oklch(84.2% 0.097 50.1)

  • #9DDF8E

    #9DDF8E

    oklch(84% 0.128 139.9)

  • #83D7FF

    #83D7FF

    oklch(84% 0.099 230.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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