#F0A2FF#F0A2FF
#F0A2FF is a light, vivid purple. Relative luminance 0.516; OKLCH L 82.0% C 0.151 H 321.0°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #F0A2FF |
|---|---|
| RGB | rgb(240, 162, 255) |
| HSL | hsl(290, 100%, 82%) |
| HSV | hsv(290, 36%, 100%) |
| CMYK | cmyk(5.9%, 36.5%, 0%, 0%) |
| CIE-LAB | lab(77.03, 43.77, -34.66) |
| CIE-LCH | lch(77.03, 55.83, 321.62°) |
| OKLab | oklab(81.96% 0.117 -0.0949) |
| OKLCH | oklch(81.96% 0.151 321) |
| XYZ | xyz(66.9033, 51.5881, 101.0216) |
| Luminance | 0.5159 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Mauve
#E0B0FF
ΔE00 5.01
Plum
#DDA0DD
ΔE00 6.27
Lilac (survey)
#CEA2FD
ΔE00 6.71
Violet (CSS)
#EE82EE
ΔE00 6.80
Baby Purple
#CA9BF7
ΔE00 7.05
Lavender (survey)
#C79FEF
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0A2FF #B1FFA2
analogous
#C2A2FF #F0A2FF #FFA2DF
triadic
#F0A2FF #FFF0A2 #A2FFF0
tetradic
#F0A2FF #FFC2A2 #B1FFA2 #A2DFFF
square
#F0A2FF #FFC2A2 #B1FFA2 #A2DFFF
split-complementary
#F0A2FF #DFFFA2 #A2FFC2
monochromatic
#DC28FF #E665FF #F0A2FF #FADFFF #FAE0FF
Accessibility & contrast
On white
1.86
#F0A2FF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.32
#F0A2FF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0A2FF
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0A2FF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0A2FF | 1.00 | 1.86 | 11.32 | 11.32 |
| #FFFFFF | 1.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#97B9FF
Deuteranopia (green-blind)
#AAC1FC
Tritanopia (blue-blind)
#F2ADC5
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #f0a2ff; /* rgb */ color: rgb(240, 162, 255); /* oklch */ color: oklch(82.0% 0.151 321.0);
Tailwind
colors: {
custom: {
50: '#f6bfff',
500: '#f0a2ff',
950: '#000000',
},
}SCSS
$custom: #f0a2ff; $custom-light: #f6bfff; $custom-dark: #000000;
JSON
{
"hex": "#f0a2ff",
"rgb": {
"r": 240,
"g": 162,
"b": 255
},
"hsl": {
"h": 290.323,
"s": 100,
"l": 81.765
},
"oklch": {
"l": 0.8196,
"c": 0.15064,
"h": 321
},
"luminance": 0.51586
}Semantic roles & 50–950 ramp
primary
#F0A2FF
secondary
#77E362
accent
#E60025
background
#FFFDFF
surface
#FFF9FF
border
#D7D2D7
text
#171218
muted
#858286