#FB42E9

Closest named color: Bright Magenta (#FF08E8). oklch(70.8% 0.274 332.4), rgb(251, 66, 233).

Aa

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

About this color

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

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

Values

HEX#FB42E9
RGBrgb(251, 66, 233)
HSLhsl(306, 96%, 62%)
OKLCHoklch(70.8% 0.274 332.4)

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

    #FFF0FC

    oklch(97% 0.022 332.3)

  2. Step 100

    100

    #FFDEF9

    oklch(93.6% 0.05 332.1)

  3. Step 200

    200

    #FFC3F5

    oklch(88.6% 0.094 332.2)

  4. Step 300

    300

    #FF95F0

    oklch(81% 0.168 332.4)

  5. Step 400

    400 (this color)

    #FB42E9

    oklch(70.8% 0.274 332.4)

  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

    #A10095

    oklch(49% 0.221 332.4)

  9. Step 800

    800

    #85007B

    oklch(42.6% 0.192 332.4)

  10. Step 900

    900

    #700067

    oklch(37.7% 0.169 332.6)

  11. Step 950

    950

    #45003F

    oklch(27% 0.121 332.7)

Export this scale for Tailwind in the Tailwind colors tool

#FB42E9 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)#3685ED0.299
Deuteranopia (no green cones)#809FE50.252
Tritanopia (no blue cones)#FF57930.140
Achromatopsia (no color)#9696960.276

Harmonies

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

Complementary

The opposite hue (180°).

  • #FB42E9

    #FB42E9

    oklch(70.8% 0.274 332.4)

  • #00C064

    #00C064

    oklch(70.8% 0.185 152.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FB42E9

    #FB42E9

    oklch(70.8% 0.274 332.4)

  • #B87FFF

    #B87FFF

    oklch(70.8% 0.186 302.5)

  • #FF5F96

    #FF5F96

    oklch(70.7% 0.199 2.4)

Open the analogous palette in the generator

Split complementary

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

  • #FB42E9

    #FB42E9

    oklch(70.8% 0.274 332.4)

  • #8EB100

    #8EB100

    oklch(70.9% 0.173 122.7)

  • #00BAA7

    #00BAA7

    oklch(70.8% 0.127 182.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FB42E9

    #FB42E9

    oklch(70.8% 0.274 332.4)

  • #C19D00

    #C19D00

    oklch(70.8% 0.145 92.3)

  • #00B4CE

    #00B4CE

    oklch(70.7% 0.124 212.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FB42E9

    #FB42E9

    oklch(70.8% 0.274 332.4)

  • #E68600

    #E68600

    oklch(70.8% 0.162 62.7)

  • #00C064

    #00C064

    oklch(70.8% 0.185 152.3)

  • #0EAAFF

    #0EAAFF

    oklch(70.8% 0.167 242.4)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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