#FF4FE2#FF4FE2
#FF4FE2 is a light, highly saturated purple. Relative luminance 0.323; OKLCH L 72.0% C 0.258 H 335.3°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #FF4FE2 |
|---|---|
| RGB | rgb(255, 79, 226) |
| HSL | hsl(310, 100%, 65%) |
| HSV | hsv(310, 69%, 100%) |
| CMYK | cmyk(0%, 69%, 11.4%, 0%) |
| CIE-LAB | lab(63.63, 80.29, -39.45) |
| CIE-LCH | lch(63.63, 89.46, 333.84°) |
| OKLab | oklab(72.05% 0.2344 -0.1076) |
| OKLCH | oklch(72.05% 0.258 335.3) |
| XYZ | xyz(57.7641, 32.3480, 75.1383) |
| Luminance | 0.3234 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 2.83
Light Magenta
#FA5FF7
ΔE00 3.77
Violet Pink
#FB5FFC
ΔE00 4.38
Bright Magenta
#FF08E8
ΔE00 5.07
Purply Pink
#F075E6
ΔE00 5.37
Purpleish Pink
#DF4EC8
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF4FE2 #4FFF6C
analogous
#C44FFF #FF4FE2 #FF4F8A
triadic
#FF4FE2 #E2FF4F #4FE2FF
tetradic
#FF4FE2 #FFC44F #4FFF6C #4F8AFF
square
#FF4FE2 #FFC44F #4FFF6C #4F8AFF
split-complementary
#FF4FE2 #8AFF4F #4FFFC4
monochromatic
#D400B1 #FF12D8 #FF4FE2 #FF8CEC #FFC9F6
Accessibility & contrast
On white
2.81
#FF4FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#FF4FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FF4FE2
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF4FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF4FE2 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F89E6
Deuteranopia (green-blind)
#8CA3DE
Tritanopia (blue-blind)
#FF5C93
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #ff4fe2; /* rgb */ color: rgb(255, 79, 226); /* oklch */ color: oklch(72.0% 0.258 335.3);
Tailwind
colors: {
custom: {
50: '#ff8eeb',
500: '#ff4fe2',
950: '#000000',
},
}SCSS
$custom: #ff4fe2; $custom-light: #ff8eeb; $custom-dark: #000000;
JSON
{
"hex": "#ff4fe2",
"rgb": {
"r": 255,
"g": 79,
"b": 226
},
"hsl": {
"h": 309.886,
"s": 100,
"l": 65.49
},
"oklch": {
"l": 0.72045,
"c": 0.25792,
"h": 335.3
},
"luminance": 0.32343
}Semantic roles & 50–950 ramp
primary
#FF4FE2
secondary
#B7F2C1
accent
#E62600
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#190E16
muted
#877E84