#F057F2#F057F2
#F057F2 is a light, highly saturated purple. Relative luminance 0.318; OKLCH L 71.5% C 0.252 H 327.3°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #F057F2 |
|---|---|
| RGB | rgb(240, 87, 242) |
| HSL | hsl(299, 86%, 65%) |
| HSV | hsv(299, 64%, 95%) |
| CMYK | cmyk(0.8%, 64%, 0%, 5.1%) |
| CIE-LAB | lab(63.14, 76.46, -49.28) |
| CIE-LCH | lch(63.14, 90.97, 327.20°) |
| OKLab | oklab(71.5% 0.2123 -0.1363) |
| OKLCH | oklch(71.5% 0.252 327.3) |
| XYZ | xyz(55.3695, 31.7561, 87.2004) |
| Luminance | 0.3175 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.38
Violet Pink
#FB5FFC
ΔE00 2.63
Candy Pink
#FF63E9
ΔE00 4.37
Heliotrope
#D94FF5
ΔE00 4.83
Magenta
#FF00FF
ΔE00 5.01
Fuchsia
#FF00FF
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F057F2 #59F257
analogous
#A357F2 #F057F2 #F257A6
triadic
#F057F2 #F2F057 #57F2F0
tetradic
#F057F2 #F2A357 #59F257 #57A6F2
square
#F057F2 #F2A357 #59F257 #57A6F2
split-complementary
#F057F2 #A6F257 #57F2A3
monochromatic
#BD0FC0 #EB1EEE #F057F2 #F590F6 #FAC9FB
Accessibility & contrast
On white
2.86
#F057F2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.35
#F057F2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F057F2
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F057F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F057F2 | 1.00 | 2.86 | 7.35 | 7.35 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#408CF7
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#F76D9E
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #f057f2; /* rgb */ color: rgb(240, 87, 242); /* oklch */ color: oklch(71.5% 0.252 327.3);
Tailwind
colors: {
custom: {
50: '#f991f7',
500: '#f057f2',
950: '#000000',
},
}SCSS
$custom: #f057f2; $custom-light: #f991f7; $custom-dark: #000000;
JSON
{
"hex": "#f057f2",
"rgb": {
"r": 240,
"g": 87,
"b": 242
},
"hsl": {
"h": 299.226,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.71498,
"c": 0.25229,
"h": 327.3
},
"luminance": 0.31752
}Semantic roles & 50–950 ramp
primary
#F057F2
secondary
#B8EDB8
accent
#E20306
background
#FFF9FF
surface
#FFF2FF
border
#D7CCD7
text
#180E17
muted
#867E85