#F08EF2#F08EF2
#F08EF2 is a light, vivid purple. Relative luminance 0.443; OKLCH L 78.3% C 0.171 H 326.3°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #F08EF2 |
|---|---|
| RGB | rgb(240, 142, 242) |
| HSL | hsl(299, 79%, 75%) |
| HSV | hsv(299, 41%, 95%) |
| CMYK | cmyk(0.8%, 41.3%, 0%, 5.1%) |
| CIE-LAB | lab(72.42, 51.66, -34.76) |
| CIE-LCH | lch(72.42, 62.27, 326.07°) |
| OKLab | oklab(78.33% 0.1427 -0.095) |
| OKLCH | oklch(78.33% 0.171 326.3) |
| XYZ | xyz(61.6339, 44.2849, 89.2885) |
| Luminance | 0.4428 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.48
Lavender Pink
#DD85D7
ΔE00 4.79
Purply Pink
#F075E6
ΔE00 4.98
Plum
#DDA0DD
ΔE00 7.04
Candy Pink
#FF63E9
ΔE00 7.49
Orchid
#DA70D6
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F08EF2 #90F28E
analogous
#BE8EF2 #F08EF2 #F28EC2
triadic
#F08EF2 #F2F08E #8EF2F0
tetradic
#F08EF2 #F2BE8E #90F28E #8EC2F2
square
#F08EF2 #F2BE8E #90F28E #8EC2F2
split-complementary
#F08EF2 #C2F28E #8EF2BE
monochromatic
#E120E5 #E957EC #F08EF2 #F7C5F8 #FBE4FC
Accessibility & contrast
On white
2.13
#F08EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#F08EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F08EF2
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F08EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F08EF2 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85AAF6
Deuteranopia (green-blind)
#A0B6EF
Tritanopia (blue-blind)
#F598B5
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #f08ef2; /* rgb */ color: rgb(240, 142, 242); /* oklch */ color: oklch(78.3% 0.171 326.3);
Tailwind
colors: {
custom: {
50: '#f7b1f6',
500: '#f08ef2',
950: '#000000',
},
}SCSS
$custom: #f08ef2; $custom-light: #f7b1f6; $custom-dark: #000000;
JSON
{
"hex": "#f08ef2",
"rgb": {
"r": 240,
"g": 142,
"b": 242
},
"hsl": {
"h": 298.8,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.78325,
"c": 0.17142,
"h": 326.3
},
"luminance": 0.44282
}Semantic roles & 50–950 ramp
primary
#F08EF2
secondary
#D8F4D7
accent
#DC0A0E
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085