#F28CE5

Closest named color: Violet (#EE82EE). oklch(77.7% 0.164 331.8), rgb(242, 140, 229).

Aa

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

About this color

#F28CE5 is a medium-light, vivid purple. In OKLCH its lightness is 78%, its chroma 0.164 and its hue 332°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet (#EE82EE), ΔE 0.030 away. Black text reads best on it, at 9.65:1.

Hue familyPurples
Lightnessmedium-light (78%)
Chromavivid (0.164)
Temperaturein between
Nearest nameViolet (#EE82EE)
Black text9.65:1
White text2.17:1

Values

HEX#F28CE5
RGBrgb(242, 140, 229)
HSLhsl(308, 80%, 75%)
OKLCHoklch(77.7% 0.164 331.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 #F28CE5 2.17:1 Fails Lc -47.1 Large or bold text, headings
Black text on #F28CE5 9.65:1 AAA Lc 61.5 Content text, not long reading
#F28CE5 text on white 2.17:1 Fails Lc 42.4 Non-text elements, placeholder text
#F28CE5 text on black 9.65:1 AAA Lc -59.8 Large or bold text, headings

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

    #FFF0FC

    oklch(97% 0.022 332.3)

  2. Step 100

    100

    #FEDFF8

    oklch(93.6% 0.047 332.5)

  3. Step 200

    200

    #FEC3F4

    oklch(88.5% 0.092 332.3)

  4. Step 300

    300 (this color)

    #F28CE5

    oklch(77.7% 0.164 331.8)

  5. Step 400

    400

    #F74AE7

    oklch(70.7% 0.263 332)

  6. Step 500

    500

    #E100D3

    oklch(63% 0.285 331.8)

  7. Step 600

    600

    #BE00B2

    oklch(55.5% 0.251 331.8)

  8. Step 700

    700

    #A10097

    oklch(49.1% 0.222 331.7)

  9. Step 800

    800

    #85007C

    oklch(42.7% 0.193 332)

  10. Step 900

    900

    #700068

    oklch(37.7% 0.17 332.1)

  11. Step 950

    950

    #450040

    oklch(27% 0.122 331.9)

Export this scale for Tailwind in the Tailwind colors tool

#F28CE5 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)#89A7E80.162
Deuteranopia (no green cones)#A4B5E20.147
Tritanopia (no blue cones)#FA93AE0.087
Achromatopsia (no color)#B0B0B00.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #F28CE5

    #F28CE5

    oklch(77.7% 0.164 331.8)

  • #54D480

    #54D480

    oklch(77.8% 0.165 151.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F28CE5

    #F28CE5

    oklch(77.7% 0.164 331.8)

  • #C7A1FF

    #C7A1FF

    oklch(77.8% 0.136 301.9)

  • #FF8EB0

    #FF8EB0

    oklch(77.7% 0.141 1.6)

Open the analogous palette in the generator

Split complementary

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

  • #F28CE5

    #F28CE5

    oklch(77.7% 0.164 331.8)

  • #A6C63C

    #A6C63C

    oklch(77.7% 0.164 121.7)

  • #00D3BD

    #00D3BD

    oklch(77.8% 0.139 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F28CE5

    #F28CE5

    oklch(77.7% 0.164 331.8)

  • #DBB200

    #DBB200

    oklch(77.8% 0.159 92.1)

  • #00CDE8

    #00CDE8

    oklch(77.8% 0.135 211.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F28CE5

    #F28CE5

    oklch(77.7% 0.164 331.8)

  • #FF9B30

    #FF9B30

    oklch(77.7% 0.163 61.8)

  • #54D480

    #54D480

    oklch(77.8% 0.165 151.8)

  • #67C0FF

    #67C0FF

    oklch(77.8% 0.125 241.6)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #F28CE5.

Similar named colors

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

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