#F08CF2#F08CF2
#F08CF2 is a light, vivid purple. Relative luminance 0.437; OKLCH L 78.0% C 0.175 H 326.4°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #F08CF2 |
|---|---|
| RGB | rgb(240, 140, 242) |
| HSL | hsl(299, 80%, 75%) |
| HSV | hsv(299, 42%, 95%) |
| CMYK | cmyk(0.8%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(72.02, 52.67, -35.37) |
| CIE-LCH | lch(72.02, 63.44, 326.12°) |
| OKLab | oklab(78.03% 0.1455 -0.0967) |
| OKLCH | oklch(78.03% 0.175 326.4) |
| XYZ | xyz(61.3390, 43.6951, 89.1902) |
| Luminance | 0.4369 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.07
Purply Pink
#F075E6
ΔE00 4.60
Lavender Pink
#DD85D7
ΔE00 4.72
Candy Pink
#FF63E9
ΔE00 7.11
Plum
#DDA0DD
ΔE00 7.37
Orchid
#DA70D6
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F08CF2 #8EF28C
analogous
#BD8CF2 #F08CF2 #F28CC1
triadic
#F08CF2 #F2F08C #8CF2F0
tetradic
#F08CF2 #F2BD8C #8EF28C #8CC1F2
square
#F08CF2 #F2BD8C #8EF28C #8CC1F2
split-complementary
#F08CF2 #C1F28C #8CF2BD
monochromatic
#E21EE6 #E955EC #F08CF2 #F7C3F8 #FBE4FC
Accessibility & contrast
On white
2.16
#F08CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#F08CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F08CF2
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F08CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F08CF2 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83A8F6
Deuteranopia (green-blind)
#9EB5EF
Tritanopia (blue-blind)
#F596B4
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #f08cf2; /* rgb */ color: rgb(240, 140, 242); /* oklch */ color: oklch(78.0% 0.175 326.4);
Tailwind
colors: {
custom: {
50: '#f7b0f6',
500: '#f08cf2',
950: '#000000',
},
}SCSS
$custom: #f08cf2; $custom-light: #f7b0f6; $custom-dark: #000000;
JSON
{
"hex": "#f08cf2",
"rgb": {
"r": 240,
"g": 140,
"b": 242
},
"hsl": {
"h": 298.824,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.7803,
"c": 0.17472,
"h": 326.4
},
"luminance": 0.43692
}Semantic roles & 50–950 ramp
primary
#F08CF2
secondary
#D8F4D7
accent
#DC0A0E
background
#FFFBFF
surface
#FFF6FE
border
#D7D0D6
text
#171117
muted
#858085