#F04FF2
Closest named color: Light Magenta (#FA5FF7). oklch(70.8% 0.262 327.4), rgb(240, 79, 242).
Aa
Black text reads best on this color (7.10:1).
About this color
#F04FF2 is a medium-light, vivid purple. In OKLCH its lightness is 71%, its chroma 0.262 and its hue 327°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Magenta (#FA5FF7), ΔE 0.033 away. Black text reads best on it, at 7.10:1.
| Hue family | Purples |
| Lightness | medium-light (71%) |
| Chroma | vivid (0.262) |
| Temperature | in between |
| Nearest name | Light Magenta (#FA5FF7) |
| Black text | 7.10:1 |
| White text | 2.95:1 |
Values
| HEX | #F04FF2 |
| RGB | rgb(240, 79, 242) |
| HSL | hsl(299, 86%, 63%) |
| OKLCH | oklch(70.8% 0.262 327.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.
| Pair | WCAG 2 | Result | APCA | APCA guidance |
|---|---|---|---|---|
| White text on #F04FF2 | 2.95:1 | Fails | Lc -60.3 | Content text, not long reading |
| Black text on #F04FF2 | 7.10:1 | AAA | Lc 49.1 | Large or bold text, headings |
| #F04FF2 text on white | 2.95:1 | Fails | Lc 55.0 | Large or bold text, headings |
| #F04FF2 text on black | 7.10: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
#FEF1FD
oklch(97.2% 0.021 328.1)
-
Step 100
100
#FCDFFB
oklch(93.6% 0.048 327)
-
Step 200
200
#FAC4F8
oklch(88.4% 0.091 327.5)
-
Step 300
300
#F898F7
oklch(80.9% 0.164 327.3)
-
Step 400
400 (this color)
#F04FF2
oklch(70.8% 0.262 327.4)
-
Step 500
500
#DC00E0
oklch(63% 0.291 327.4)
-
Step 600
600
#BA00BE
oklch(55.6% 0.257 327.2)
-
Step 700
700
#9D00A0
oklch(49% 0.226 327.4)
-
Step 800
800
#820084
oklch(42.7% 0.197 327.6)
-
Step 900
900
#6D006F
oklch(37.7% 0.174 327.4)
-
Step 950
950
#430044
oklch(26.9% 0.124 327.7)
#F04FF2 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) | #3389F7 | 0.275 |
| Deuteranopia (no green cones) | #779DEE | 0.234 |
| Tritanopia (no blue cones) | #F7679B | 0.147 |
| Achromatopsia (no color) | #969696 | 0.264 |
Harmonies
Hue rotations in OKLCH that keep this color's lightness and chroma.
Complementary
The opposite hue (180°).
- #F04FF2
#F04FF2
oklch(70.8% 0.262 327.4)
- #00C14A
#00C14A
oklch(70.7% 0.208 147.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 #F04FF2, closest first.
No curated palette has a color within ΔE 0.04 of #F04FF2.
Similar named colors
The eight closest entries in our named color list, with their ΔE distance.
- Light Magenta #FA5FF7 ΔE 0.033
- Violet Pink #FB5FFC ΔE 0.036
- Heliotrope #D94FF5 ΔE 0.044
- Candy Pink #FF63E9 ΔE 0.050
- Pink Purple #EF1DE7 ΔE 0.052
- Bright Magenta #FF08E8 ΔE 0.057
- Magenta #FF00FF ΔE 0.061
- Purply Pink #F075E6 ΔE 0.072
Use #F04FF2 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.