#A274F2#A274F2
#A274F2 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.1% C 0.183 H 298.1°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #A274F2 |
|---|---|
| RGB | rgb(162, 116, 242) |
| HSL | hsl(262, 83%, 70%) |
| HSV | hsv(262, 52%, 95%) |
| CMYK | cmyk(33.1%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(58.59, 44.15, -57.11) |
| CIE-LCH | lch(58.59, 72.18, 307.71°) |
| OKLab | oklab(66.13% 0.0861 -0.1613) |
| OKLCH | oklch(66.13% 0.183 298.1) |
| XYZ | xyz(37.1688, 26.5825, 87.1599) |
| Luminance | 0.2658 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.32
Mediumpurple
#9370DB
ΔE00 4.16
Easter Purple
#C071FE
ΔE00 5.37
Light Purple
#BF77F6
ΔE00 5.45
Lighter Purple
#A55AF4
ΔE00 6.19
Periwinkle (survey)
#8E82FE
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A274F2 #C4F274
analogous
#7485F2 #A274F2 #E174F2
triadic
#A274F2 #F2A274 #74F2A2
tetradic
#A274F2 #F27485 #C4F274 #74F2E1
square
#A274F2 #F27485 #C4F274 #74F2E1
split-complementary
#A274F2 #F2E174 #85F274
monochromatic
#5B14D7 #7D3CED #A274F2 #C7ACF7 #ECE3FC
Accessibility & contrast
On white
3.32
#A274F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.32
#A274F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A274F2
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A274F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A274F2 | 1.00 | 3.32 | 6.32 | 6.32 |
| #FFFFFF | 3.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438DF6
Deuteranopia (green-blind)
#508CEF
Tritanopia (blue-blind)
#918DA8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a274f2; /* rgb */ color: rgb(162, 116, 242); /* oklch */ color: oklch(66.1% 0.183 298.1);
Tailwind
colors: {
custom: {
50: '#c19df7',
500: '#a274f2',
950: '#000000',
},
}SCSS
$custom: #a274f2; $custom-light: #c19df7; $custom-dark: #000000;
JSON
{
"hex": "#a274f2",
"rgb": {
"r": 162,
"g": 116,
"b": 242
},
"hsl": {
"h": 261.905,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.66131,
"c": 0.18288,
"h": 298.1
},
"luminance": 0.26583
}Semantic roles & 50–950 ramp
primary
#A274F2
secondary
#E6F2CF
accent
#DF0690
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85