#F08BEC#F08BEC
#F08BEC is a light, vivid purple. Relative luminance 0.430; OKLCH L 77.6% C 0.171 H 328.5°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).
Color values
| HEX | #F08BEC |
|---|---|
| RGB | rgb(240, 139, 236) |
| HSL | hsl(302, 77%, 74%) |
| HSV | hsv(302, 42%, 94%) |
| CMYK | cmyk(0%, 42.1%, 1.7%, 5.9%) |
| CIE-LAB | lab(71.59, 52.11, -32.76) |
| CIE-LCH | lch(71.59, 61.55, 327.85°) |
| OKLab | oklab(77.63% 0.1457 -0.0893) |
| OKLCH | oklch(77.63% 0.171 328.5) |
| XYZ | xyz(60.3072, 43.0497, 84.4734) |
| Luminance | 0.4305 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 2.14
Lavender Pink
#DD85D7
ΔE00 4.01
Purply Pink
#F075E6
ΔE00 4.31
Candy Pink
#FF63E9
ΔE00 6.88
Plum
#DDA0DD
ΔE00 6.99
Orchid
#DA70D6
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F08BEC #8BF08F
analogous
#C28BF0 #F08BEC #F08BBA
triadic
#F08BEC #ECF08B #8BECF0
tetradic
#F08BEC #F0C28B #8BF08F #8BBAF0
square
#F08BEC #F0C28B #8BF08F #8BBAF0
split-complementary
#F08BEC #BAF08B #8BF0C2
monochromatic
#E21FDA #E955E3 #F08BEC #F7C1F5 #FBE4FB
Accessibility & contrast
On white
2.19
#F08BEC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.61
#F08BEC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F08BEC
9.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F08BEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F08BEC | 1.00 | 2.19 | 9.61 | 9.61 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#F694B1
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #f08bec; /* rgb */ color: rgb(240, 139, 236); /* oklch */ color: oklch(77.6% 0.171 328.5);
Tailwind
colors: {
custom: {
50: '#f7aff2',
500: '#f08bec',
950: '#000000',
},
}SCSS
$custom: #f08bec; $custom-light: #f7aff2; $custom-dark: #000000;
JSON
{
"hex": "#f08bec",
"rgb": {
"r": 240,
"g": 139,
"b": 236
},
"hsl": {
"h": 302.376,
"s": 77.099,
"l": 74.314
},
"oklch": {
"l": 0.77626,
"c": 0.1709,
"h": 328.5
},
"luminance": 0.43047
}Semantic roles & 50–950 ramp
primary
#F08BEC
secondary
#D8F3D9
accent
#D9140C
background
#FFFBFE
surface
#FFF6FD
border
#D7D0D5
text
#171117
muted
#858085