#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 family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.273) |
| Temperature | in between |
| Nearest name | Bright Magenta (#FF08E8) |
| Black text | 7.04:1 |
| White text | 2.98:1 |
Values
| HEX | #FE40E2 |
| RGB | rgb(254, 64, 226) |
| HSL | hsl(309, 99%, 62%) |
| OKLCH | oklch(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.
| Pair | WCAG 2 | Result | APCA | APCA 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.
-
Step 50
50
#FFF0FB
oklch(97% 0.022 334.9)
-
Step 100
100
#FFDFF7
oklch(93.7% 0.047 334.7)
-
Step 200
200
#FFC3F1
oklch(88.5% 0.09 334.8)
-
Step 300
300
#FF96EA
oklch(80.9% 0.161 334.7)
-
Step 400
400 (this color)
#FE40E2
oklch(70.7% 0.273 334.9)
-
Step 500
500
#E500CA
oklch(63.2% 0.281 335.1)
-
Step 600
600
#C100AB
oklch(55.6% 0.248 334.8)
-
Step 700
700
#A30090
oklch(49.1% 0.218 334.9)
-
Step 800
800
#870077
oklch(42.7% 0.19 334.9)
-
Step 900
900
#710064
oklch(37.7% 0.168 334.6)
-
Step 950
950
#46003D
oklch(27% 0.12 334.9)
#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.
| Vision | Seen as | Shift (ΔE) |
|---|---|---|
| Protanopia (no red cones) | #3F84E6 | 0.299 |
| Deuteranopia (no green cones) | #859FDE | 0.253 |
| Tritanopia (no blue cones) | #FF518E | 0.133 |
| Achromatopsia (no color) | #959595 | 0.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)
Analogous
Neighbouring hues, 30° either side.
Split complementary
The two hues beside the complement (150° and 210°).
Triadic
Three hues spaced 120° apart.
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.
- Bright Magenta #FF08E8 ΔE 0.039
- Light Magenta #FA5FF7 ΔE 0.048
- Pink Purple #EF1DE7 ΔE 0.049
- Candy Pink #FF63E9 ΔE 0.050
- Violet Pink #FB5FFC ΔE 0.052
- Hot Magenta #F504C9 ΔE 0.055
- Magenta #FF00FF ΔE 0.061
- Heliotrope #D94FF5 ΔE 0.075
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.