#F08DF2#F08DF2
#F08DF2 is a light, vivid purple. Relative luminance 0.440; OKLCH L 78.2% C 0.173 H 326.4°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).
Color values
| HEX | #F08DF2 |
|---|---|
| RGB | rgb(240, 141, 242) |
| HSL | hsl(299, 80%, 75%) |
| HSV | hsv(299, 42%, 95%) |
| CMYK | cmyk(0.8%, 41.7%, 0%, 5.1%) |
| CIE-LAB | lab(72.22, 52.17, -35.06) |
| CIE-LCH | lch(72.22, 62.85, 326.09°) |
| OKLab | oklab(78.18% 0.1441 -0.0959) |
| OKLCH | oklch(78.18% 0.173 326.4) |
| XYZ | xyz(61.4858, 43.9887, 89.2391) |
| Luminance | 0.4399 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.27
Lavender Pink
#DD85D7
ΔE00 4.75
Purply Pink
#F075E6
ΔE00 4.79
Plum
#DDA0DD
ΔE00 7.21
Candy Pink
#FF63E9
ΔE00 7.30
Orchid
#DA70D6
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F08DF2 #8FF28D
analogous
#BE8DF2 #F08DF2 #F28DC1
triadic
#F08DF2 #F2F08D #8DF2F0
tetradic
#F08DF2 #F2BE8D #8FF28D #8DC1F2
square
#F08DF2 #F2BE8D #8FF28D #8DC1F2
split-complementary
#F08DF2 #C1F28D #8DF2BE
monochromatic
#E21FE5 #E956EC #F08DF2 #F7C4F8 #FBE4FC
Accessibility & contrast
On white
2.14
#F08DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.80
#F08DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F08DF2
9.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F08DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F08DF2 | 1.00 | 2.14 | 9.80 | 9.80 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A9F6
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#F597B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f08df2; /* rgb */ color: rgb(240, 141, 242); /* oklch */ color: oklch(78.2% 0.173 326.4);
Tailwind
colors: {
custom: {
50: '#f7b1f6',
500: '#f08df2',
950: '#000000',
},
}SCSS
$custom: #f08df2; $custom-light: #f7b1f6; $custom-dark: #000000;
JSON
{
"hex": "#f08df2",
"rgb": {
"r": 240,
"g": 141,
"b": 242
},
"hsl": {
"h": 298.812,
"s": 79.528,
"l": 75.098
},
"oklch": {
"l": 0.78177,
"c": 0.17307,
"h": 326.4
},
"luminance": 0.43986
}Semantic roles & 50–950 ramp
primary
#F08DF2
secondary
#D8F4D7
accent
#DC0A0E
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085