#F257E1#F257E1
#F257E1 is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.9% C 0.240 H 332.4°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F257E1 |
|---|---|
| RGB | rgb(242, 87, 225) |
| HSL | hsl(307, 86%, 65%) |
| HSV | hsv(307, 64%, 95%) |
| CMYK | cmyk(0%, 64%, 7%, 5.1%) |
| CIE-LAB | lab(62.62, 74.25, -40.61) |
| CIE-LCH | lch(62.62, 84.63, 331.33°) |
| OKLab | oklab(70.91% 0.2132 -0.1113) |
| OKLCH | oklch(70.91% 0.24 332.4) |
| XYZ | xyz(53.6168, 31.1340, 74.4051) |
| Luminance | 0.3113 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Candy Pink
#FF63E9
ΔE00 3.33
Light Magenta
#FA5FF7
ΔE00 3.48
Violet Pink
#FB5FFC
ΔE00 4.12
Orchid
#DA70D6
ΔE00 4.78
Purply Pink
#F075E6
ΔE00 4.87
Purpleish Pink
#DF4EC8
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F257E1 #57F268
analogous
#B657F2 #F257E1 #F25793
triadic
#F257E1 #E1F257 #57E1F2
tetradic
#F257E1 #F2B657 #57F268 #5793F2
square
#F257E1 #F2B657 #57F268 #5793F2
split-complementary
#F257E1 #93F257 #57F2B6
monochromatic
#C00FAC #EE1ED7 #F257E1 #F690EB #FBC9F5
Accessibility & contrast
On white
2.91
#F257E1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#F257E1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F257E1
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F257E1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F257E1 | 1.00 | 2.91 | 7.23 | 7.23 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5189E5
Deuteranopia (green-blind)
#869FDD
Tritanopia (blue-blind)
#FC6595
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #f257e1; /* rgb */ color: rgb(242, 87, 225); /* oklch */ color: oklch(70.9% 0.240 332.4);
Tailwind
colors: {
custom: {
50: '#fa91eb',
500: '#f257e1',
950: '#000000',
},
}SCSS
$custom: #f257e1; $custom-light: #fa91eb; $custom-dark: #000000;
JSON
{
"hex": "#f257e1",
"rgb": {
"r": 242,
"g": 87,
"b": 225
},
"hsl": {
"h": 306.581,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.70915,
"c": 0.24047,
"h": 332.4
},
"luminance": 0.3113
}Semantic roles & 50–950 ramp
primary
#F257E1
secondary
#B8EDBE
accent
#E21C03
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84