#F257E2#F257E2
#F257E2 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 71.0% C 0.241 H 332.2°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #F257E2 |
|---|---|
| RGB | rgb(242, 87, 226) |
| HSL | hsl(306, 86%, 65%) |
| HSV | hsv(306, 64%, 95%) |
| CMYK | cmyk(0%, 64%, 6.6%, 5.1%) |
| CIE-LAB | lab(62.67, 74.40, -41.10) |
| CIE-LCH | lch(62.67, 85.00, 331.09°) |
| OKLab | oklab(70.96% 0.2133 -0.1127) |
| OKLCH | oklch(70.96% 0.241 332.2) |
| XYZ | xyz(53.7536, 31.1887, 75.1256) |
| Luminance | 0.3119 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.32
Light Magenta
#FA5FF7
ΔE00 3.36
Violet Pink
#FB5FFC
ΔE00 3.99
Orchid
#DA70D6
ΔE00 4.80
Purply Pink
#F075E6
ΔE00 4.86
Purpleish Pink
#DF4EC8
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F257E2 #57F267
analogous
#B557F2 #F257E2 #F25794
triadic
#F257E2 #E2F257 #57E2F2
tetradic
#F257E2 #F2B557 #57F267 #5794F2
square
#F257E2 #F2B557 #57F267 #5794F2
split-complementary
#F257E2 #94F257 #57F2B5
monochromatic
#C00FAD #EE1ED8 #F257E2 #F690EC #FBC9F6
Accessibility & contrast
On white
2.90
#F257E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#F257E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F257E2
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F257E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F257E2 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5089E6
Deuteranopia (green-blind)
#859FDE
Tritanopia (blue-blind)
#FC6595
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #f257e2; /* rgb */ color: rgb(242, 87, 226); /* oklch */ color: oklch(71.0% 0.241 332.2);
Tailwind
colors: {
custom: {
50: '#fa91eb',
500: '#f257e2',
950: '#000000',
},
}SCSS
$custom: #f257e2; $custom-light: #fa91eb; $custom-dark: #000000;
JSON
{
"hex": "#f257e2",
"rgb": {
"r": 242,
"g": 87,
"b": 226
},
"hsl": {
"h": 306.194,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.70963,
"c": 0.2412,
"h": 332.2
},
"luminance": 0.31185
}Semantic roles & 50–950 ramp
primary
#F257E2
secondary
#B8EDBD
accent
#E21A03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84