#FF5CF2#FF5CF2
#FF5CF2 is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 74.0% C 0.254 H 331.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #FF5CF2 |
|---|---|
| RGB | rgb(255, 92, 242) |
| HSL | hsl(305, 100%, 68%) |
| HSV | hsv(305, 64%, 100%) |
| CMYK | cmyk(0%, 63.9%, 5.1%, 0%) |
| CIE-LAB | lab(66.00, 78.04, -44.62) |
| CIE-LCH | lch(66.00, 89.90, 330.24°) |
| OKLab | oklab(74% 0.2224 -0.1226) |
| OKLCH | oklch(74% 0.254 331.1) |
| XYZ | xyz(61.0940, 35.3297, 87.5887) |
| Luminance | 0.3533 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 1.23
Violet Pink
#FB5FFC
ΔE00 1.78
Candy Pink
#FF63E9
ΔE00 1.83
Purply Pink
#F075E6
ΔE00 4.09
Violet (CSS)
#EE82EE
ΔE00 6.06
Orchid
#DA70D6
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FF5CF2 #5CFF69
analogous
#BA5CFF #FF5CF2 #FF5CA1
triadic
#FF5CF2 #F2FF5C #5CF2FF
tetradic
#FF5CF2 #FFBA5C #5CFF69 #5CA1FF
square
#FF5CF2 #FFBA5C #5CFF69 #5CA1FF
split-complementary
#FF5CF2 #A1FF5C #5CFFBA
monochromatic
#E100CF #FF1FED #FF5CF2 #FF99F7 #FFD6FC
Accessibility & contrast
On white
2.60
#FF5CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#FF5CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FF5CF2
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FF5CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FF5CF2 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5192F6
Deuteranopia (green-blind)
#8BA8EE
Tritanopia (blue-blind)
#FF6D9F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #ff5cf2; /* rgb */ color: rgb(255, 92, 242); /* oklch */ color: oklch(74.0% 0.254 331.1);
Tailwind
colors: {
custom: {
50: '#ff95f7',
500: '#ff5cf2',
950: '#000000',
},
}SCSS
$custom: #ff5cf2; $custom-light: #ff95f7; $custom-dark: #000000;
JSON
{
"hex": "#ff5cf2",
"rgb": {
"r": 255,
"g": 92,
"b": 242
},
"hsl": {
"h": 304.785,
"s": 100,
"l": 68.039
},
"oklch": {
"l": 0.74003,
"c": 0.2539,
"h": 331.1
},
"luminance": 0.35325
}Semantic roles & 50–950 ramp
primary
#FF5CF2
secondary
#C2F4C6
accent
#E61200
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#190E17
muted
#877E85