#FF4CF2#FF4CF2
#FF4CF2 is a light, highly saturated purple. Relative luminance 0.328; OKLCH L 72.6% C 0.272 H 331.1°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #FF4CF2 |
|---|---|
| RGB | rgb(255, 76, 242) |
| HSL | hsl(304, 100%, 65%) |
| HSV | hsv(304, 70%, 100%) |
| CMYK | cmyk(0%, 70.2%, 5.1%, 0%) |
| CIE-LAB | lab(64.03, 83.59, -47.72) |
| CIE-LCH | lch(64.03, 96.25, 330.28°) |
| OKLab | oklab(72.58% 0.2384 -0.1314) |
| OKLCH | oklch(72.58% 0.272 331.1) |
| XYZ | xyz(59.8514, 32.8444, 87.1745) |
| Luminance | 0.3284 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.32
Violet Pink
#FB5FFC
ΔE00 2.67
Candy Pink
#FF63E9
ΔE00 3.49
Bright Magenta
#FF08E8
ΔE00 4.72
Magenta
#FF00FF
ΔE00 4.78
Fuchsia
#FF00FF
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF4CF2 #4CFF59
analogous
#B34CFF #FF4CF2 #FF4C98
triadic
#FF4CF2 #F2FF4C #4CF2FF
tetradic
#FF4CF2 #FFB34C #4CFF59 #4C98FF
square
#FF4CF2 #FFB34C #4CFF59 #4C98FF
split-complementary
#FF4CF2 #98FF4C #4CFFB3
monochromatic
#D100C1 #FF0FEE #FF4CF2 #FF89F6 #FFC6FB
Accessibility & contrast
On white
2.77
#FF4CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#FF4CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FF4CF2
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF4CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF4CF2 | 1.00 | 2.77 | 7.57 | 7.57 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8BF7
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#FF619A
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #ff4cf2; /* rgb */ color: rgb(255, 76, 242); /* oklch */ color: oklch(72.6% 0.272 331.1);
Tailwind
colors: {
custom: {
50: '#ff8df7',
500: '#ff4cf2',
950: '#000000',
},
}SCSS
$custom: #ff4cf2; $custom-light: #ff8df7; $custom-dark: #000000;
JSON
{
"hex": "#ff4cf2",
"rgb": {
"r": 255,
"g": 76,
"b": 242
},
"hsl": {
"h": 304.358,
"s": 100,
"l": 64.902
},
"oklch": {
"l": 0.72581,
"c": 0.27219,
"h": 331.1
},
"luminance": 0.3284
}Semantic roles & 50–950 ramp
primary
#FF4CF2
secondary
#B5F2B9
accent
#E61100
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190D17
muted
#877E85