#A862FD#A862FD
#A862FD is a light, highly saturated violet. Relative luminance 0.242; OKLCH L 64.8% C 0.222 H 301.2°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A862FD |
|---|---|
| RGB | rgb(168, 98, 253) |
| HSL | hsl(267, 97%, 69%) |
| HSV | hsv(267, 61%, 99%) |
| CMYK | cmyk(33.6%, 61.3%, 0%, 0.8%) |
| CIE-LAB | lab(56.24, 57.74, -66.93) |
| CIE-LCH | lch(56.24, 88.40, 310.79°) |
| OKLab | oklab(64.76% 0.1151 -0.19) |
| OKLCH | oklch(64.76% 0.222 301.2) |
| XYZ | xyz(38.2415, 24.1519, 95.5565) |
| Luminance | 0.2415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.41
Light Urple
#B36FF6
ΔE00 3.93
Lightish Purple
#A552E6
ΔE00 5.20
Bright Lavender
#C760FF
ΔE00 5.31
Easter Purple
#C071FE
ΔE00 5.72
Bright Lilac
#C95EFB
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862FD #B7FD62
analogous
#626AFD #A862FD #F662FD
triadic
#A862FD #FDA862 #62FDA8
tetradic
#A862FD #FD626A #B7FD62 #62FDF6
square
#A862FD #FD626A #B7FD62 #62FDF6
split-complementary
#A862FD #FDF662 #6AFD62
monochromatic
#6803E2 #8726FC #A862FD #C99EFE #EBDBFF
Accessibility & contrast
On white
3.60
#A862FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.83
#A862FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862FD
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862FD | 1.00 | 3.60 | 5.83 | 5.83 |
| #FFFFFF | 3.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0086FF
Deuteranopia (green-blind)
#2C86FA
Tritanopia (blue-blind)
#9683A7
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a862fd; /* rgb */ color: rgb(168, 98, 253); /* oklch */ color: oklch(64.8% 0.222 301.2);
Tailwind
colors: {
custom: {
50: '#c792ff',
500: '#a862fd',
950: '#000000',
},
}SCSS
$custom: #a862fd; $custom-light: #c792ff; $custom-dark: #000000;
JSON
{
"hex": "#a862fd",
"rgb": {
"r": 168,
"g": 98,
"b": 253
},
"hsl": {
"h": 267.097,
"s": 97.484,
"l": 68.824
},
"oklch": {
"l": 0.64762,
"c": 0.22212,
"h": 301.2
},
"luminance": 0.24152
}Semantic roles & 50–950 ramp
primary
#A862FD
secondary
#E0F4C6
accent
#E6007E
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#140D18
muted
#827E86