#F286EF#F286EF
#F286EF is a light, vivid purple. Relative luminance 0.422; OKLCH L 77.3% C 0.183 H 328.2°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #F286EF |
|---|---|
| RGB | rgb(242, 134, 239) |
| HSL | hsl(302, 81%, 74%) |
| HSV | hsv(302, 45%, 95%) |
| CMYK | cmyk(0%, 44.6%, 1.2%, 5.1%) |
| CIE-LAB | lab(70.98, 55.71, -35.32) |
| CIE-LCH | lch(70.98, 65.96, 327.62°) |
| OKLab | oklab(77.27% 0.1555 -0.0965) |
| OKLCH | oklch(77.27% 0.183 328.2) |
| XYZ | xyz(60.7221, 42.1626, 86.5844) |
| Luminance | 0.4216 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 1.13
Purply Pink
#F075E6
ΔE00 3.39
Lavender Pink
#DD85D7
ΔE00 4.43
Candy Pink
#FF63E9
ΔE00 5.86
Orchid
#DA70D6
ΔE00 6.58
Light Magenta
#FA5FF7
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F286EF #86F289
analogous
#BF86F2 #F286EF #F286B9
triadic
#F286EF #EFF286 #86EFF2
tetradic
#F286EF #F2BF86 #86F289 #86B9F2
square
#F286EF #F2BF86 #86F289 #86B9F2
split-complementary
#F286EF #B9F286 #86F2BF
monochromatic
#E519DF #EC4FE8 #F286EF #F8BDF6 #FCE3FB
Accessibility & contrast
On white
2.23
#F286EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#F286EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F286EF
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F286EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F286EF | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7EA5F3
Deuteranopia (green-blind)
#9CB3EC
Tritanopia (blue-blind)
#F890AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #f286ef; /* rgb */ color: rgb(242, 134, 239); /* oklch */ color: oklch(77.3% 0.183 328.2);
Tailwind
colors: {
custom: {
50: '#f8acf4',
500: '#f286ef',
950: '#000000',
},
}SCSS
$custom: #f286ef; $custom-light: #f8acf4; $custom-dark: #000000;
JSON
{
"hex": "#f286ef",
"rgb": {
"r": 242,
"g": 134,
"b": 239
},
"hsl": {
"h": 301.667,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.77265,
"c": 0.18305,
"h": 328.2
},
"luminance": 0.42159
}Semantic roles & 50–950 ramp
primary
#F286EF
secondary
#D7F4D8
accent
#DD0E09
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171017
muted
#857F85