#A862FE#A862FE
#A862FE is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.223 H 301.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A862FE |
|---|---|
| RGB | rgb(168, 98, 254) |
| HSL | hsl(267, 99%, 69%) |
| HSV | hsv(267, 61%, 100%) |
| CMYK | cmyk(33.9%, 61.4%, 0%, 0.4%) |
| CIE-LAB | lab(56.30, 57.98, -67.38) |
| CIE-LCH | lch(56.30, 88.90, 310.71°) |
| OKLab | oklab(64.83% 0.115 -0.1913) |
| OKLCH | oklch(64.83% 0.223 301) |
| XYZ | xyz(38.4012, 24.2157, 96.3977) |
| Luminance | 0.2422 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.49
Light Urple
#B36FF6
ΔE00 3.96
Lightish Purple
#A552E6
ΔE00 5.30
Bright Lavender
#C760FF
ΔE00 5.33
Easter Purple
#C071FE
ΔE00 5.73
Bright Lilac
#C95EFB
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862FE #B8FE62
analogous
#626AFE #A862FE #F662FE
triadic
#A862FE #FEA862 #62FEA8
tetradic
#A862FE #FE626A #B8FE62 #62FEF6
square
#A862FE #FE626A #B8FE62 #62FEF6
split-complementary
#A862FE #FEF662 #6AFE62
monochromatic
#6701E4 #8625FE #A862FE #CA9FFE #EBDCFF
Accessibility & contrast
On white
3.59
#A862FE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.84
#A862FE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862FE
5.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862FE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862FE | 1.00 | 3.59 | 5.84 | 5.84 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2A86FB
Tritanopia (blue-blind)
#9684A7
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a862fe; /* rgb */ color: rgb(168, 98, 254); /* oklch */ color: oklch(64.8% 0.223 301.0);
Tailwind
colors: {
custom: {
50: '#c792ff',
500: '#a862fe',
950: '#000000',
},
}SCSS
$custom: #a862fe; $custom-light: #c792ff; $custom-dark: #000000;
JSON
{
"hex": "#a862fe",
"rgb": {
"r": 168,
"g": 98,
"b": 254
},
"hsl": {
"h": 266.923,
"s": 98.734,
"l": 69.02
},
"oklch": {
"l": 0.64829,
"c": 0.22323,
"h": 301
},
"luminance": 0.24216
}Semantic roles & 50–950 ramp
primary
#A862FE
secondary
#E0F5C7
accent
#E6007F
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86