#F840F2
Closest named color: Bright Magenta (#FF08E8). oklch(70.7% 0.281 329.5), rgb(248, 64, 242).
Aa
Black text reads best on this color (7.00:1).
About this color
#F840F2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.281 and its hue 330°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Bright Magenta (#FF08E8), ΔE 0.037 away. Black text reads best on it, at 7.00:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.281) |
| Temperature | in between |
| Nearest name | Bright Magenta (#FF08E8) |
| Black text | 7.00:1 |
| White text | 2.99:1 |
Values
| HEX | #F840F2 |
| RGB | rgb(248, 64, 242) |
| HSL | hsl(302, 93%, 61%) |
| OKLCH | oklch(70.7% 0.281 329.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #F840F2 | 2.99:1 | Fails | Lc -60.5 | Content text, not long reading |
| Black text on #F840F2 | 7.00:1 | AAA | Lc 48.9 | Large or bold text, headings |
| #F840F2 text on white | 2.99:1 | Fails | Lc 55.2 | Large or bold text, headings |
| #F840F2 text on black | 7.00:1 | AAA | Lc -46.6 | 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
#FFF0FD
oklch(97.1% 0.023 330)
-
Step 100
100
#FEDEFB
oklch(93.5% 0.052 329)
-
Step 200
200
#FEC2F9
oklch(88.5% 0.098 329.2)
-
Step 300
300
#FE94F7
oklch(81% 0.175 329.5)
-
Step 400
400 (this color)
#F840F2
oklch(70.7% 0.281 329.5)
-
Step 500
500
#DF00DA
oklch(63.1% 0.288 329.6)
-
Step 600
600
#BC00B8
oklch(55.6% 0.254 329.5)
-
Step 700
700
#9F009C
oklch(49.1% 0.225 329.4)
-
Step 800
800
#830081
oklch(42.7% 0.195 329.2)
-
Step 900
900
#6E006C
oklch(37.6% 0.172 329.3)
-
Step 950
950
#440042
oklch(27% 0.123 329.8)
#F840F2 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) | #2185F7 | 0.305 |
| Deuteranopia (no green cones) | #789DEE | 0.254 |
| Tritanopia (no blue cones) | #FF5B97 | 0.152 |
| Achromatopsia (no color) | #959595 | 0.283 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F840F2
#F840F2
oklch(70.7% 0.281 329.5)
- #00C056
#00C056
oklch(70.6% 0.197 149.5)
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 #F840F2, closest first.
No curated palette has a color within ΔE 0.04 of #F840F2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Bright Magenta #FF08E8 ΔE 0.037
- Pink Purple #EF1DE7 ΔE 0.040
- Magenta #FF00FF ΔE 0.043
- Light Magenta #FA5FF7 ΔE 0.044
- Violet Pink #FB5FFC ΔE 0.045
- Heliotrope #D94FF5 ΔE 0.058
- Candy Pink #FF63E9 ΔE 0.059
- Hot Magenta #F504C9 ΔE 0.068
Use #F840F2 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.