#F5A7EC

Closest named color: Plum (#DDA0DD). oklch(82.5% 0.127 330.8), rgb(245, 167, 236).

Aa

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

About this color

#F5A7EC is a light, moderately saturated purple. In OKLCH its lightness is 83%, its chroma 0.127 and its hue 331°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Plum (#DDA0DD), ΔE 0.047 away. Black text reads best on it, at 11.62:1.

Hue familyPurples
Lightnesslight (83%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest namePlum (#DDA0DD)
Black text11.62:1
White text1.80:1

Values

HEX#F5A7EC
RGBrgb(245, 167, 236)
HSLhsl(307, 80%, 81%)
OKLCHoklch(82.5% 0.127 330.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 #F5A7EC 1.80:1 Fails Lc -37.5 Non-text elements, placeholder text
Black text on #F5A7EC 11.62:1 AAA Lc 70.4 Content text, not long reading
#F5A7EC text on white 1.80:1 Fails Lc 33.5 Non-text elements, placeholder text
#F5A7EC text on black 11.62:1 AAA Lc -69.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

    #FDF2FB

    oklch(97.2% 0.017 331.6)

  2. Step 100

    100

    #F9E1F5

    oklch(93.5% 0.037 331.3)

  3. Step 200

    200

    #F5C9EF

    oklch(88.5% 0.07 330.7)

  4. Step 300

    300 (this color)

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  5. Step 400

    400

    #E468DA

    oklch(70.6% 0.203 330.7)

  6. Step 500

    500

    #D92DCF

    oklch(63% 0.259 330.8)

  7. Step 600

    600

    #BD00B5

    oklch(55.5% 0.252 330.7)

  8. Step 700

    700

    #A00099

    oklch(49.1% 0.223 330.7)

  9. Step 800

    800

    #84007E

    oklch(42.6% 0.194 330.8)

  10. Step 900

    900

    #6F036A

    oklch(37.8% 0.169 330.7)

  11. Step 950

    950

    #41093E

    oklch(27% 0.107 330.5)

Export this scale for Tailwind in the Tailwind colors tool

#F5A7EC 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)#A5BAEF0.120
Deuteranopia (no green cones)#B8C5E90.111
Tritanopia (no blue cones)#FBACC00.068
Achromatopsia (no color)#C1C1C10.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #F5A7EC

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  • #85DD9B

    #85DD9B

    oklch(82.5% 0.126 150.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F5A7EC

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  • #D1B6FF

    #D1B6FF

    oklch(82.5% 0.104 301.1)

  • #FFA9C2

    #FFA9C2

    oklch(82.5% 0.105 0.7)

Open the analogous palette in the generator

Split complementary

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

  • #F5A7EC

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  • #BAD271

    #BAD271

    oklch(82.5% 0.126 120.7)

  • #50E0CA

    #50E0CA

    oklch(82.4% 0.126 181)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F5A7EC

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  • #E5C25D

    #E5C25D

    oklch(82.5% 0.126 90.3)

  • #45DCF4

    #45DCF4

    oklch(82.6% 0.127 210.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F5A7EC

    #F5A7EC

    oklch(82.5% 0.127 330.8)

  • #FFB371

    #FFB371

    oklch(82.6% 0.121 60.9)

  • #85DD9B

    #85DD9B

    oklch(82.5% 0.126 150.9)

  • #8BCEFF

    #8BCEFF

    oklch(82.5% 0.097 241.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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