#F04AFA

Closest named color: Violet Pink (#FB5FFC). oklch(70.8% 0.273 325.5), rgb(240, 74, 250).

Aa

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

About this color

#F04AFA is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.273 and its hue 326°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Violet Pink (#FB5FFC), ΔE 0.040 away. Black text reads best on it, at 7.06:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.273)
Temperaturein between
Nearest nameViolet Pink (#FB5FFC)
Black text7.06:1
White text2.97:1

Values

HEX#F04AFA
RGBrgb(240, 74, 250)
HSLhsl(297, 95%, 64%)
OKLCHoklch(70.8% 0.273 325.5)

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 #F04AFA 2.97:1 Fails Lc -60.4 Content text, not long reading
Black text on #F04AFA 7.06:1 AAA Lc 49.0 Large or bold text, headings
#F04AFA text on white 2.97:1 Fails Lc 55.1 Large or bold text, headings
#F04AFA text on black 7.06:1 AAA Lc -46.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 400.

  1. Step 50

    50

    #FEF1FE

    oklch(97.2% 0.022 325.7)

  2. Step 100

    100

    #FCDFFC

    oklch(93.6% 0.049 326)

  3. Step 200

    200

    #FAC4FC

    oklch(88.5% 0.095 325.2)

  4. Step 300

    300

    #F897FC

    oklch(81% 0.171 325.6)

  5. Step 400

    400 (this color)

    #F04AFA

    oklch(70.8% 0.273 325.5)

  6. Step 500

    500

    #DA00E6

    oklch(63.1% 0.294 325.5)

  7. Step 600

    600

    #B800C2

    oklch(55.6% 0.259 325.5)

  8. Step 700

    700

    #9C00A4

    oklch(49.1% 0.229 325.7)

  9. Step 800

    800

    #800088

    oklch(42.6% 0.199 325.2)

  10. Step 900

    900

    #6C0072

    oklch(37.7% 0.176 325.6)

  11. Step 950

    950

    #420046

    oklch(26.9% 0.125 325.6)

Export this scale for Tailwind in the Tailwind colors tool

#F04AFA 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)#1889FF0.288
Deuteranopia (no green cones)#709DF60.243
Tritanopia (no blue cones)#F6679E0.157
Achromatopsia (no color)#9696960.275

Harmonies

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

Complementary

The opposite hue (180°).

  • #F04AFA

    #F04AFA

    oklch(70.8% 0.273 325.5)

  • #00C23B

    #00C23B

    oklch(70.8% 0.219 145.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #F04AFA

    #F04AFA

    oklch(70.8% 0.273 325.5)

  • #AB87FF

    #AB87FF

    oklch(70.8% 0.172 295.5)

  • #FF5BA6

    #FF5BA6

    oklch(70.8% 0.21 355.6)

Open the analogous palette in the generator

Split complementary

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

  • #F04AFA

    #F04AFA

    oklch(70.8% 0.273 325.5)

  • #9EAC00

    #9EAC00

    oklch(70.9% 0.161 115.5)

  • #00BB9D

    #00BB9D

    oklch(70.7% 0.133 175.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #F04AFA

    #F04AFA

    oklch(70.8% 0.273 325.5)

  • #C99800

    #C99800

    oklch(70.7% 0.145 85.4)

  • #00B6C5

    #00B6C5

    oklch(70.8% 0.121 205.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #F04AFA

    #F04AFA

    oklch(70.8% 0.273 325.5)

  • #F07E00

    #F07E00

    oklch(70.8% 0.174 55.7)

  • #00C23B

    #00C23B

    oklch(70.8% 0.219 145.6)

  • #00ADF1

    #00ADF1

    oklch(70.7% 0.151 235.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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