#A65FD2#A65FD2
#A65FD2 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.178 H 310.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A65FD2 |
|---|---|
| RGB | rgb(166, 95, 210) |
| HSL | hsl(277, 56%, 60%) |
| HSV | hsv(277, 55%, 82%) |
| CMYK | cmyk(21%, 54.8%, 0%, 17.6%) |
| CIE-LAB | lab(52.89, 48.89, -48.19) |
| CIE-LCH | lch(52.89, 68.65, 315.41°) |
| OKLab | oklab(61.45% 0.1163 -0.1351) |
| OKLCH | oklch(61.45% 0.178 310.7) |
| XYZ | xyz(31.4488, 20.9452, 63.3464) |
| Luminance | 0.2094 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.33
Mediumorchid
#BA55D3
ΔE00 3.97
Lightish Purple
#A552E6
ΔE00 4.23
Lighter Purple
#A55AF4
ΔE00 5.29
Deep Lavender
#8D5EB7
ΔE00 6.11
Deep Lilac
#966EBD
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A65FD2 #8BD25F
analogous
#6C5FD2 #A65FD2 #D25FC5
triadic
#A65FD2 #D2A65F #5FD2A6
tetradic
#A65FD2 #D26C5F #8BD25F #5FC5D2
square
#A65FD2 #D26C5F #8BD25F #5FC5D2
split-complementary
#A65FD2 #C5D25F #5FD26C
monochromatic
#67288F #8A36BE #A65FD2 #C18FDF #DBBFED
Accessibility & contrast
On white
4.05
#A65FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A65FD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A65FD2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A65FD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A65FD2 | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D7BD6
Deuteranopia (green-blind)
#5580CF
Tritanopia (blue-blind)
#A1738F
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a65fd2; /* rgb */ color: rgb(166, 95, 210); /* oklch */ color: oklch(61.4% 0.178 310.7);
Tailwind
colors: {
custom: {
50: '#c38fe0',
500: '#a65fd2',
950: '#000000',
},
}SCSS
$custom: #a65fd2; $custom-light: #c38fe0; $custom-dark: #000000;
JSON
{
"hex": "#a65fd2",
"rgb": {
"r": 166,
"g": 95,
"b": 210
},
"hsl": {
"h": 277.043,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.61448,
"c": 0.17824,
"h": 310.7
},
"luminance": 0.20945
}Semantic roles & 50–950 ramp
primary
#A65FD2
secondary
#C1DDB0
accent
#DF4882
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83