#F257E6#F257E6
#F257E6 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 71.2% C 0.244 H 331.0°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F257E6 |
|---|---|
| RGB | rgb(242, 87, 230) |
| HSL | hsl(305, 86%, 65%) |
| HSV | hsv(305, 64%, 95%) |
| CMYK | cmyk(0%, 64%, 5%, 5.1%) |
| CIE-LAB | lab(62.85, 75.02, -43.04) |
| CIE-LCH | lch(62.85, 86.49, 330.16°) |
| OKLab | oklab(71.16% 0.2136 -0.1182) |
| OKLCH | oklch(71.16% 0.244 331) |
| XYZ | xyz(54.3089, 31.4108, 78.0501) |
| Luminance | 0.3141 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Light Magenta
#FA5FF7
ΔE00 2.90
Candy Pink
#FF63E9
ΔE00 3.37
Violet Pink
#FB5FFC
ΔE00 3.49
Purply Pink
#F075E6
ΔE00 4.88
Orchid
#DA70D6
ΔE00 4.96
Bright Magenta
#FF08E8
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F257E6 #57F263
analogous
#B057F2 #F257E6 #F25799
triadic
#F257E6 #E6F257 #57E6F2
tetradic
#F257E6 #F2B057 #57F263 #5799F2
square
#F257E6 #F2B057 #57F263 #5799F2
split-complementary
#F257E6 #99F257 #57F2B0
monochromatic
#C00FB2 #EE1EDE #F257E6 #F690EE #FBC9F7
Accessibility & contrast
On white
2.88
#F257E6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#F257E6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F257E6
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F257E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F257E6 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D8AEA
Deuteranopia (green-blind)
#83A0E2
Tritanopia (blue-blind)
#FB6797
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #f257e6; /* rgb */ color: rgb(242, 87, 230); /* oklch */ color: oklch(71.2% 0.244 331.0);
Tailwind
colors: {
custom: {
50: '#fa91ee',
500: '#f257e6',
950: '#000000',
},
}SCSS
$custom: #f257e6; $custom-light: #fa91ee; $custom-dark: #000000;
JSON
{
"hex": "#f257e6",
"rgb": {
"r": 242,
"g": 87,
"b": 230
},
"hsl": {
"h": 304.645,
"s": 85.635,
"l": 64.51
},
"oklch": {
"l": 0.71159,
"c": 0.24417,
"h": 331
},
"luminance": 0.31407
}Semantic roles & 50–950 ramp
primary
#F257E6
secondary
#B8EDBC
accent
#E21503
background
#FFF9FE
surface
#FFF2FD
border
#D7CCD5
text
#180E16
muted
#867E84