#F28CE4

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

Aa

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

About this color

#F28CE4 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.031 away. Black text reads best on it, at 9.64:1.

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

Values

HEX#F28CE4
RGBrgb(242, 140, 228)
HSLhsl(308, 80%, 75%)
OKLCHoklch(77.7% 0.164 332.2)

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 #F28CE4 2.17:1 Fails Lc -47.2 Large or bold text, headings
Black text on #F28CE4 9.64:1 AAA Lc 61.5 Content text, not long reading
#F28CE4 text on white 2.17:1 Fails Lc 42.5 Non-text elements, placeholder text
#F28CE4 text on black 9.64:1 AAA Lc -59.7 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)

    #F28CE4

    oklch(77.7% 0.164 332.2)

  5. Step 400

    400

    #F74AE6

    oklch(70.7% 0.262 332.3)

  6. Step 500

    500

    #E200D2

    oklch(63.1% 0.284 332.3)

  7. Step 600

    600

    #BF00B1

    oklch(55.6% 0.25 332.4)

  8. Step 700

    700

    #A10096

    oklch(49.1% 0.221 332.1)

  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

#F28CE4 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)#8AA7E70.161
Deuteranopia (no green cones)#A5B5E10.146
Tritanopia (no blue cones)#FA92AE0.085
Achromatopsia (no color)#B0B0B00.165

Harmonies

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

Complementary

The opposite hue (180°).

  • #F28CE4

    #F28CE4

    oklch(77.7% 0.164 332.2)

  • #53D381

    #53D381

    oklch(77.5% 0.163 152.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F28CE4

    #F28CE4

    oklch(77.7% 0.164 332.2)

  • #C7A0FF

    #C7A0FF

    oklch(77.7% 0.138 302.2)

  • #FF8EAF

    #FF8EAF

    oklch(77.7% 0.14 2.2)

Open the analogous palette in the generator

Split complementary

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

  • #F28CE4

    #F28CE4

    oklch(77.7% 0.164 332.2)

  • #A5C63E

    #A5C63E

    oklch(77.7% 0.163 122.1)

  • #00D3BD

    #00D3BD

    oklch(77.8% 0.139 181.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F28CE4

    #F28CE4

    oklch(77.7% 0.164 332.2)

  • #DAB200

    #DAB200

    oklch(77.7% 0.159 92.5)

  • #00CCE9

    #00CCE9

    oklch(77.6% 0.136 212.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F28CE4

    #F28CE4

    oklch(77.7% 0.164 332.2)

  • #FF9B2E

    #FF9B2E

    oklch(77.7% 0.164 62.1)

  • #53D381

    #53D381

    oklch(77.5% 0.163 152.3)

  • #68BFFF

    #68BFFF

    oklch(77.6% 0.125 242.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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