#F08EF5#F08EF5
#F08EF5 is a light, vivid purple. Relative luminance 0.445; OKLCH L 78.5% C 0.174 H 325.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F08EF5 |
|---|---|
| RGB | rgb(240, 142, 245) |
| HSL | hsl(297, 84%, 76%) |
| HSV | hsv(297, 42%, 96%) |
| CMYK | cmyk(2%, 42%, 0%, 3.9%) |
| CIE-LAB | lab(72.54, 52.20, -36.20) |
| CIE-LCH | lch(72.54, 63.53, 325.26°) |
| OKLab | oklab(78.46% 0.1433 -0.0991) |
| OKLCH | oklch(78.46% 0.174 325.3) |
| XYZ | xyz(62.0882, 44.4666, 91.6809) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.51
Purply Pink
#F075E6
ΔE00 5.10
Lavender Pink
#DD85D7
ΔE00 5.16
Plum
#DDA0DD
ΔE00 7.37
Candy Pink
#FF63E9
ΔE00 7.56
Orchid
#DA70D6
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F08EF5 #93F58E
analogous
#BC8EF5 #F08EF5 #F58EC6
triadic
#F08EF5 #F5F08E #8EF5F0
tetradic
#F08EF5 #F5BC8E #93F58E #8EC6F5
square
#F08EF5 #F5BC8E #93F58E #8EC6F5
split-complementary
#F08EF5 #C6F58E #8EF5BC
monochromatic
#E11EEB #E956F0 #F08EF5 #F7C6FA #FBE3FD
Accessibility & contrast
On white
2.12
#F08EF5 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#F08EF5 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F08EF5
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F08EF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F08EF5 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84AAF9
Deuteranopia (green-blind)
#9FB6F2
Tritanopia (blue-blind)
#F599B6
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #f08ef5; /* rgb */ color: rgb(240, 142, 245); /* oklch */ color: oklch(78.5% 0.174 325.3);
Tailwind
colors: {
custom: {
50: '#f7b1f8',
500: '#f08ef5',
950: '#000000',
},
}SCSS
$custom: #f08ef5; $custom-light: #f7b1f8; $custom-dark: #000000;
JSON
{
"hex": "#f08ef5",
"rgb": {
"r": 240,
"g": 142,
"b": 245
},
"hsl": {
"h": 297.087,
"s": 83.74,
"l": 75.882
},
"oklch": {
"l": 0.78455,
"c": 0.17423,
"h": 325.3
},
"luminance": 0.44464
}Semantic roles & 50–950 ramp
primary
#F08EF5
secondary
#D8F4D7
accent
#E00510
background
#FFFBFF
surface
#FFF6FF
border
#D7D0D7
text
#171117
muted
#858085