#F286E2#F286E2
#F286E2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.7% C 0.172 H 332.8°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #F286E2 |
|---|---|
| RGB | rgb(242, 134, 226) |
| HSL | hsl(309, 81%, 74%) |
| HSV | hsv(309, 45%, 95%) |
| CMYK | cmyk(0%, 44.6%, 6.6%, 5.1%) |
| CIE-LAB | lab(70.47, 53.49, -28.97) |
| CIE-LCH | lch(70.47, 60.83, 331.56°) |
| OKLab | oklab(76.71% 0.1529 -0.0785) |
| OKLCH | oklch(76.71% 0.172 332.8) |
| XYZ | xyz(58.8702, 41.4219, 76.8312) |
| Luminance | 0.4142 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.99
Lavender Pink
#DD85D7
ΔE00 3.48
Purply Pink
#F075E6
ΔE00 3.83
Bubblegum Pink
#FE83CC
ΔE00 5.55
Candy Pink
#FF63E9
ΔE00 6.17
Orchid
#DA70D6
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F286E2 #86F296
analogous
#CC86F2 #F286E2 #F286AC
triadic
#F286E2 #E2F286 #86E2F2
tetradic
#F286E2 #F2CC86 #86F296 #86ACF2
square
#F286E2 #F2CC86 #86F296 #86ACF2
split-complementary
#F286E2 #ACF286 #86F2CC
monochromatic
#E519C7 #EC4FD5 #F286E2 #F8BDEF #FCE3F8
Accessibility & contrast
On white
2.26
#F286E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#F286E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F286E2
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F286E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F286E2 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#A1B2DF
Tritanopia (blue-blind)
#FB8DAA
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #f286e2; /* rgb */ color: rgb(242, 134, 226); /* oklch */ color: oklch(76.7% 0.172 332.8);
Tailwind
colors: {
custom: {
50: '#f8aceb',
500: '#f286e2',
950: '#000000',
},
}SCSS
$custom: #f286e2; $custom-light: #f8aceb; $custom-dark: #000000;
JSON
{
"hex": "#f286e2",
"rgb": {
"r": 242,
"g": 134,
"b": 226
},
"hsl": {
"h": 308.889,
"s": 80.597,
"l": 73.725
},
"oklch": {
"l": 0.76714,
"c": 0.17186,
"h": 332.8
},
"luminance": 0.41418
}Semantic roles & 50–950 ramp
primary
#F286E2
secondary
#D7F4DB
accent
#DD2809
background
#FFFAFE
surface
#FFF4FD
border
#D7CED5
text
#171016
muted
#857F84