#A274E2#A274E2
#A274E2 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.2% C 0.163 H 301.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A274E2 |
|---|---|
| RGB | rgb(162, 116, 226) |
| HSL | hsl(265, 65%, 67%) |
| HSV | hsv(265, 49%, 89%) |
| CMYK | cmyk(28.3%, 48.7%, 0%, 11.4%) |
| CIE-LAB | lab(57.72, 40.20, -49.58) |
| CIE-LCH | lch(57.72, 63.82, 309.04°) |
| OKLab | oklab(65.2% 0.0848 -0.1393) |
| OKLCH | oklch(65.2% 0.163 301.3) |
| XYZ | xyz(34.8700, 25.6630, 75.0532) |
| Luminance | 0.2566 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.15
Light Urple
#B36FF6
ΔE00 3.99
Light Purple
#BF77F6
ΔE00 5.58
Easter Purple
#C071FE
ΔE00 6.03
Deep Lilac
#966EBD
ΔE00 6.54
Lighter Purple
#A55AF4
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A274E2 #B4E274
analogous
#747DE2 #A274E2 #D974E2
triadic
#A274E2 #E2A274 #74E2A2
tetradic
#A274E2 #E2747D #B4E274 #74E2D9
square
#A274E2 #E2747D #B4E274 #74E2D9
split-complementary
#A274E2 #E2D974 #7DE274
monochromatic
#6226B6 #8041D7 #A274E2 #C4A7ED #E6D9F7
Accessibility & contrast
On white
3.42
#A274E2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#A274E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A274E2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A274E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A274E2 | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#518AE6
Deuteranopia (green-blind)
#5D8ADF
Tritanopia (blue-blind)
#9688A0
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a274e2; /* rgb */ color: rgb(162, 116, 226); /* oklch */ color: oklch(65.2% 0.163 301.3);
Tailwind
colors: {
custom: {
50: '#c09deb',
500: '#a274e2',
950: '#000000',
},
}SCSS
$custom: #a274e2; $custom-light: #c09deb; $custom-dark: #000000;
JSON
{
"hex": "#a274e2",
"rgb": {
"r": 162,
"g": 116,
"b": 226
},
"hsl": {
"h": 265.091,
"s": 65.476,
"l": 67.059
},
"oklch": {
"l": 0.65202,
"c": 0.1631,
"h": 301.3
},
"luminance": 0.25663
}Semantic roles & 50–950 ramp
primary
#A274E2
secondary
#DCEAC7
accent
#CD1882
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#120E16
muted
#817E84