#A774E3#A774E3
#A774E3 is a light, vivid violet. Relative luminance 0.263; OKLCH L 65.8% C 0.165 H 303.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A774E3 |
|---|---|
| RGB | rgb(167, 116, 227) |
| HSL | hsl(268, 66%, 67%) |
| HSV | hsv(268, 49%, 89%) |
| CMYK | cmyk(26.4%, 48.9%, 0%, 11%) |
| CIE-LAB | lab(58.28, 41.76, -49.21) |
| CIE-LCH | lch(58.28, 64.54, 310.31°) |
| OKLab | oklab(65.75% 0.091 -0.1381) |
| OKLCH | oklch(65.75% 0.165 303.4) |
| XYZ | xyz(36.0438, 26.2524, 75.8265) |
| Luminance | 0.2625 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.38
Mediumpurple
#9370DB
ΔE00 4.08
Light Purple
#BF77F6
ΔE00 4.71
Easter Purple
#C071FE
ΔE00 5.25
Lighter Purple
#A55AF4
ΔE00 6.73
Deep Lilac
#966EBD
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A774E3 #B0E374
analogous
#7478E3 #A774E3 #DF74E3
triadic
#A774E3 #E3A774 #74E3A7
tetradic
#A774E3 #E37478 #B0E374 #74E3DF
square
#A774E3 #E37478 #B0E374 #74E3DF
split-complementary
#A774E3 #E3DF74 #78E374
monochromatic
#6825B8 #8741D9 #A774E3 #C7A7ED #E7DAF8
Accessibility & contrast
On white
3.36
#A774E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.25
#A774E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A774E3
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A774E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A774E3 | 1.00 | 3.36 | 6.25 | 6.25 |
| #FFFFFF | 3.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#528BE7
Deuteranopia (green-blind)
#608CE0
Tritanopia (blue-blind)
#9C88A1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a774e3; /* rgb */ color: rgb(167, 116, 227); /* oklch */ color: oklch(65.8% 0.165 303.4);
Tailwind
colors: {
custom: {
50: '#c49dec',
500: '#a774e3',
950: '#000000',
},
}SCSS
$custom: #a774e3; $custom-light: #c49dec; $custom-dark: #000000;
JSON
{
"hex": "#a774e3",
"rgb": {
"r": 167,
"g": 116,
"b": 227
},
"hsl": {
"h": 267.568,
"s": 66.467,
"l": 67.255
},
"oklch": {
"l": 0.65753,
"c": 0.16543,
"h": 303.4
},
"luminance": 0.26252
}Semantic roles & 50–950 ramp
primary
#A774E3
secondary
#DBEBC8
accent
#CE177A
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E16
muted
#827E84