#A774F2#A774F2
#A774F2 is a light, vivid violet. Relative luminance 0.271; OKLCH L 66.6% C 0.184 H 300.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A774F2 |
|---|---|
| RGB | rgb(167, 116, 242) |
| HSL | hsl(264, 83%, 70%) |
| HSV | hsv(264, 52%, 95%) |
| CMYK | cmyk(31%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(59.08, 45.37, -56.28) |
| CIE-LCH | lch(59.08, 72.30, 308.87°) |
| OKLab | oklab(66.61% 0.0922 -0.1588) |
| OKLCH | oklch(66.61% 0.184 300.1) |
| XYZ | xyz(38.2050, 27.1168, 87.2085) |
| Luminance | 0.2712 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.45
Easter Purple
#C071FE
ΔE00 4.47
Light Purple
#BF77F6
ΔE00 4.51
Mediumpurple
#9370DB
ΔE00 4.71
Lighter Purple
#A55AF4
ΔE00 6.19
Bright Lavender
#C760FF
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A774F2 #BFF274
analogous
#7480F2 #A774F2 #E674F2
triadic
#A774F2 #F2A774 #74F2A7
tetradic
#A774F2 #F27480 #BFF274 #74F2E6
square
#A774F2 #F27480 #BFF274 #74F2E6
split-complementary
#A774F2 #F2E674 #80F274
monochromatic
#6314D7 #843CED #A774F2 #CAACF7 #EDE3FC
Accessibility & contrast
On white
3.27
#A774F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A774F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A774F2
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A774F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A774F2 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#468EF6
Deuteranopia (green-blind)
#558DEF
Tritanopia (blue-blind)
#988CA8
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a774f2; /* rgb */ color: rgb(167, 116, 242); /* oklch */ color: oklch(66.6% 0.184 300.1);
Tailwind
colors: {
custom: {
50: '#c49df7',
500: '#a774f2',
950: '#000000',
},
}SCSS
$custom: #a774f2; $custom-light: #c49df7; $custom-dark: #000000;
JSON
{
"hex": "#a774f2",
"rgb": {
"r": 167,
"g": 116,
"b": 242
},
"hsl": {
"h": 264.286,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.66614,
"c": 0.18365,
"h": 300.1
},
"luminance": 0.27117
}Semantic roles & 50–950 ramp
primary
#A774F2
secondary
#E4F2CF
accent
#DF0687
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85