#A274F7#A274F7
#A274F7 is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.4% C 0.189 H 297.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A274F7 |
|---|---|
| RGB | rgb(162, 116, 247) |
| HSL | hsl(261, 89%, 71%) |
| HSV | hsv(261, 53%, 97%) |
| CMYK | cmyk(34.4%, 53%, 0%, 3.1%) |
| CIE-LAB | lab(58.87, 45.40, -59.42) |
| CIE-LCH | lch(58.87, 74.78, 307.38°) |
| OKLab | oklab(66.43% 0.0863 -0.1681) |
| OKLCH | oklch(66.43% 0.189 297.2) |
| XYZ | xyz(37.9300, 26.8870, 91.1690) |
| Luminance | 0.2689 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.44
Mediumpurple
#9370DB
ΔE00 4.69
Easter Purple
#C071FE
ΔE00 5.36
Light Purple
#BF77F6
ΔE00 5.61
Periwinkle (survey)
#8E82FE
ΔE00 6.05
Lighter Purple
#A55AF4
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A274F7 #C9F774
analogous
#7487F7 #A274F7 #E474F7
triadic
#A274F7 #F7A274 #74F7A2
tetradic
#A274F7 #F77487 #C9F774 #74F7E4
square
#A274F7 #F77487 #C9F774 #74F7E4
split-complementary
#A274F7 #F7E474 #87F774
monochromatic
#580DE4 #7B3AF4 #A274F7 #C9AEFA #ECE2FD
Accessibility & contrast
On white
3.29
#A274F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#A274F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A274F7
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A274F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A274F7 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8EFB
Deuteranopia (green-blind)
#4B8CF4
Tritanopia (blue-blind)
#8F8EAB
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a274f7; /* rgb */ color: rgb(162, 116, 247); /* oklch */ color: oklch(66.4% 0.189 297.2);
Tailwind
colors: {
custom: {
50: '#c29dfa',
500: '#a274f7',
950: '#000000',
},
}SCSS
$custom: #a274f7; $custom-light: #c29dfa; $custom-dark: #000000;
JSON
{
"hex": "#a274f7",
"rgb": {
"r": 162,
"g": 116,
"b": 247
},
"hsl": {
"h": 261.069,
"s": 89.116,
"l": 71.176
},
"oklch": {
"l": 0.66432,
"c": 0.18901,
"h": 297.2
},
"luminance": 0.26888
}Semantic roles & 50–950 ramp
primary
#A274F7
secondary
#E9F5D2
accent
#E60095
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85