#A862F2#A862F2
#A862F2 is a light, highly saturated violet. Relative luminance 0.235; OKLCH L 64.0% C 0.210 H 303.4°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A862F2 |
|---|---|
| RGB | rgb(168, 98, 242) |
| HSL | hsl(269, 85%, 67%) |
| HSV | hsv(269, 60%, 95%) |
| CMYK | cmyk(30.6%, 59.5%, 0%, 5.1%) |
| CIE-LAB | lab(55.55, 55.14, -61.93) |
| CIE-LCH | lch(55.55, 82.92, 311.68°) |
| OKLab | oklab(64.05% 0.1155 -0.1753) |
| OKLCH | oklch(64.05% 0.21 303.4) |
| XYZ | xyz(36.5395, 23.4711, 86.5926) |
| Luminance | 0.2347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.96
Light Urple
#B36FF6
ΔE00 3.82
Lightish Purple
#A552E6
ΔE00 4.26
Bright Lavender
#C760FF
ΔE00 5.31
Bright Lilac
#C95EFB
ΔE00 5.59
Mediumpurple
#9370DB
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A862F2 #ACF262
analogous
#6264F2 #A862F2 #F062F2
triadic
#A862F2 #F2A862 #62F2A8
tetradic
#A862F2 #F26264 #ACF262 #62F2F0
square
#A862F2 #F26264 #ACF262 #62F2F0
split-complementary
#A862F2 #F2F062 #64F262
monochromatic
#6A11C9 #8929ED #A862F2 #C79BF7 #E7D3FB
Accessibility & contrast
On white
3.69
#A862F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.69
#A862F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A862F2
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A862F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A862F2 | 1.00 | 3.69 | 5.69 | 5.69 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1384F7
Deuteranopia (green-blind)
#3D85EF
Tritanopia (blue-blind)
#9A80A1
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #a862f2; /* rgb */ color: rgb(168, 98, 242); /* oklch */ color: oklch(64.0% 0.210 303.4);
Tailwind
colors: {
custom: {
50: '#c692f7',
500: '#a862f2',
950: '#000000',
},
}SCSS
$custom: #a862f2; $custom-light: #c692f7; $custom-dark: #000000;
JSON
{
"hex": "#a862f2",
"rgb": {
"r": 168,
"g": 98,
"b": 242
},
"hsl": {
"h": 269.167,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.64045,
"c": 0.20993,
"h": 303.4
},
"luminance": 0.23471
}Semantic roles & 50–950 ramp
primary
#A862F2
secondary
#D9EFC1
accent
#E10476
background
#FCF9FF
surface
#F9F1FF
border
#D2CBD7
text
#130D17
muted
#827E85