#FB40EA

Closest named color: Bright Magenta (#FF08E8). oklch(70.7% 0.277 332.2), rgb(251, 64, 234).

Aa

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

About this color

#FB40EA is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.277 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.036 away. Black text reads best on it, at 7.02:1.

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

Values

HEX#FB40EA
RGBrgb(251, 64, 234)
HSLhsl(305, 96%, 62%)
OKLCHoklch(70.7% 0.277 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 #FB40EA 2.99:1 Fails Lc -60.4 Content text, not long reading
Black text on #FB40EA 7.02:1 AAA Lc 49.0 Large or bold text, headings
#FB40EA text on white 2.99:1 Fails Lc 55.1 Large or bold text, headings
#FB40EA text on black 7.02: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

    #FFF0FC

    oklch(97% 0.022 332.3)

  2. Step 100

    100

    #FFDEF9

    oklch(93.6% 0.05 332.1)

  3. Step 200

    200

    #FFC2F5

    oklch(88.4% 0.095 332.1)

  4. Step 300

    300

    #FF94F0

    oklch(80.8% 0.17 332.3)

  5. Step 400

    400 (this color)

    #FB40EA

    oklch(70.7% 0.277 332.2)

  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

#FB40EA 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)#3284EF0.302
Deuteranopia (no green cones)#7F9EE60.253
Tritanopia (no blue cones)#FF56930.142
Achromatopsia (no color)#9595950.279

Harmonies

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

Complementary

The opposite hue (180°).

  • #FB40EA

    #FB40EA

    oklch(70.7% 0.277 332.2)

  • #00C063

    #00C063

    oklch(70.8% 0.186 152.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #FB40EA

    #FB40EA

    oklch(70.7% 0.277 332.2)

  • #B77FFF

    #B77FFF

    oklch(70.7% 0.186 302.1)

  • #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°).

  • #FB40EA

    #FB40EA

    oklch(70.7% 0.277 332.2)

  • #8FB000

    #8FB000

    oklch(70.7% 0.172 122.1)

  • #00BAA7

    #00BAA7

    oklch(70.8% 0.127 182.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #FB40EA

    #FB40EA

    oklch(70.7% 0.277 332.2)

  • #C19D00

    #C19D00

    oklch(70.8% 0.145 92.3)

  • #00B4CD

    #00B4CD

    oklch(70.7% 0.123 212.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #FB40EA

    #FB40EA

    oklch(70.7% 0.277 332.2)

  • #E68500

    #E68500

    oklch(70.6% 0.162 62.1)

  • #00C063

    #00C063

    oklch(70.8% 0.186 152.1)

  • #03AAFF

    #03AAFF

    oklch(70.7% 0.168 242.1)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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