#F04DF5

Closest named color: Light Magenta (#FA5FF7). oklch(70.7% 0.266 326.7), rgb(240, 77, 245).

Aa

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

About this color

#F04DF5 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.266 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Magenta (#FA5FF7), ΔE 0.036 away. Black text reads best on it, at 7.08:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.266)
Temperaturein between
Nearest nameLight Magenta (#FA5FF7)
Black text7.08:1
White text2.96:1

Values

HEX#F04DF5
RGBrgb(240, 77, 245)
HSLhsl(298, 89%, 63%)
OKLCHoklch(70.7% 0.266 326.7)

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 #F04DF5 2.96:1 Fails Lc -60.3 Content text, not long reading
Black text on #F04DF5 7.08:1 AAA Lc 49.0 Large or bold text, headings
#F04DF5 text on white 2.96:1 Fails Lc 55.0 Large or bold text, headings
#F04DF5 text on black 7.08:1 AAA Lc -46.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 400.

  1. Step 50

    50

    #FEF1FE

    oklch(97.2% 0.022 325.7)

  2. Step 100

    100

    #FCDFFB

    oklch(93.6% 0.048 327)

  3. Step 200

    200

    #FAC4FA

    oklch(88.5% 0.093 326.3)

  4. Step 300

    300

    #F898F9

    oklch(81% 0.166 326.6)

  5. Step 400

    400 (this color)

    #F04DF5

    oklch(70.7% 0.266 326.7)

  6. Step 500

    500

    #DC00E3

    oklch(63.2% 0.293 326.7)

  7. Step 600

    600

    #B900BF

    oklch(55.5% 0.257 326.7)

  8. Step 700

    700

    #9D00A2

    oklch(49.2% 0.228 326.7)

  9. Step 800

    800

    #810086

    oklch(42.7% 0.198 326.4)

  10. Step 900

    900

    #6D0070

    oklch(37.7% 0.175 327)

  11. Step 950

    950

    #430045

    oklch(27% 0.125 327)

Export this scale for Tailwind in the Tailwind colors tool

#F04DF5 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)#2B89FA0.280
Deuteranopia (no green cones)#749DF10.238
Tritanopia (no blue cones)#F6679C0.151
Achromatopsia (no color)#9696960.268

Harmonies

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

Complementary

The opposite hue (180°).

  • #F04DF5

    #F04DF5

    oklch(70.7% 0.266 326.7)

  • #00C144

    #00C144

    oklch(70.6% 0.212 146.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F04DF5

    #F04DF5

    oklch(70.7% 0.266 326.7)

  • #AD85FF

    #AD85FF

    oklch(70.7% 0.175 296.8)

  • #FF5BA3

    #FF5BA3

    oklch(70.7% 0.208 356.7)

Open the analogous palette in the generator

Split complementary

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

  • #F04DF5

    #F04DF5

    oklch(70.7% 0.266 326.7)

  • #9BAC00

    #9BAC00

    oklch(70.7% 0.162 116.6)

  • #00BB9F

    #00BB9F

    oklch(70.8% 0.132 176.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F04DF5

    #F04DF5

    oklch(70.7% 0.266 326.7)

  • #C89900

    #C89900

    oklch(70.8% 0.145 86.5)

  • #00B5C6

    #00B5C6

    oklch(70.6% 0.121 206.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F04DF5

    #F04DF5

    oklch(70.7% 0.266 326.7)

  • #EE7F00

    #EE7F00

    oklch(70.7% 0.172 56.7)

  • #00C144

    #00C144

    oklch(70.6% 0.212 146.6)

  • #00ADF3

    #00ADF3

    oklch(70.8% 0.153 236.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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