#FE40E2

Closest named color: Bright Magenta (#FF08E8). oklch(70.7% 0.273 334.9), rgb(254, 64, 226).

Aa

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

About this color

#FE40E2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.273 and its hue 335°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bright Magenta (#FF08E8), ΔE 0.039 away. Black text reads best on it, at 7.04:1.

Hue familyPurples
Lightnessmedium-light (71%)
Chromavivid (0.273)
Temperaturein between
Nearest nameBright Magenta (#FF08E8)
Black text7.04:1
White text2.98:1

Values

HEX#FE40E2
RGBrgb(254, 64, 226)
HSLhsl(309, 99%, 62%)
OKLCHoklch(70.7% 0.273 334.9)

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 #FE40E2 2.98:1 Fails Lc -60.2 Content text, not long reading
Black text on #FE40E2 7.04:1 AAA Lc 49.1 Large or bold text, headings
#FE40E2 text on white 2.98:1 Fails Lc 54.9 Large or bold text, headings
#FE40E2 text on black 7.04:1 AAA Lc -46.9 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

    #FFF0FB

    oklch(97% 0.022 334.9)

  2. Step 100

    100

    #FFDFF7

    oklch(93.7% 0.047 334.7)

  3. Step 200

    200

    #FFC3F1

    oklch(88.5% 0.09 334.8)

  4. Step 300

    300

    #FF96EA

    oklch(80.9% 0.161 334.7)

  5. Step 400

    400 (this color)

    #FE40E2

    oklch(70.7% 0.273 334.9)

  6. Step 500

    500

    #E500CA

    oklch(63.2% 0.281 335.1)

  7. Step 600

    600

    #C100AB

    oklch(55.6% 0.248 334.8)

  8. Step 700

    700

    #A30090

    oklch(49.1% 0.218 334.9)

  9. Step 800

    800

    #870077

    oklch(42.7% 0.19 334.9)

  10. Step 900

    900

    #710064

    oklch(37.7% 0.168 334.6)

  11. Step 950

    950

    #46003D

    oklch(27% 0.12 334.9)

Export this scale for Tailwind in the Tailwind colors tool

#FE40E2 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)#3F84E60.299
Deuteranopia (no green cones)#859FDE0.253
Tritanopia (no blue cones)#FF518E0.133
Achromatopsia (no color)#9595950.275

Harmonies

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

Complementary

The opposite hue (180°).

  • #FE40E2

    #FE40E2

    oklch(70.7% 0.273 334.9)

  • #00BF6E

    #00BF6E

    oklch(70.7% 0.175 155)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FE40E2

    #FE40E2

    oklch(70.7% 0.273 334.9)

  • #BD7CFF

    #BD7CFF

    oklch(70.8% 0.192 304.9)

  • #FF6090

    #FF6090

    oklch(70.7% 0.196 5)

Open the analogous palette in the generator

Split complementary

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

  • #FE40E2

    #FE40E2

    oklch(70.7% 0.273 334.9)

  • #88B200

    #88B200

    oklch(70.7% 0.177 124.8)

  • #00B9AB

    #00B9AB

    oklch(70.7% 0.124 185.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FE40E2

    #FE40E2

    oklch(70.7% 0.273 334.9)

  • #BD9E00

    #BD9E00

    oklch(70.6% 0.145 94.9)

  • #00B4D1

    #00B4D1

    oklch(70.8% 0.125 214.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FE40E2

    #FE40E2

    oklch(70.7% 0.273 334.9)

  • #E38800

    #E38800

    oklch(70.8% 0.159 64.8)

  • #00BF6E

    #00BF6E

    oklch(70.7% 0.175 155)

  • #2AA8FF

    #2AA8FF

    oklch(70.7% 0.164 245.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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