#A474FB#A474FB
#A474FB is a light, vivid violet. Relative luminance 0.273; OKLCH L 66.9% C 0.194 H 297.3°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A474FB |
|---|---|
| RGB | rgb(164, 116, 251) |
| HSL | hsl(261, 94%, 72%) |
| HSV | hsv(261, 54%, 98%) |
| CMYK | cmyk(34.7%, 53.8%, 0%, 1.6%) |
| CIE-LAB | lab(59.29, 46.88, -60.94) |
| CIE-LCH | lch(59.29, 76.89, 307.57°) |
| OKLab | oklab(66.87% 0.089 -0.1725) |
| OKLCH | oklch(66.87% 0.194 297.3) |
| XYZ | xyz(38.9635, 27.3478, 94.4739) |
| Luminance | 0.2735 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.30
Easter Purple
#C071FE
ΔE00 5.05
Mediumpurple
#9370DB
ΔE00 5.29
Light Purple
#BF77F6
ΔE00 5.41
Periwinkle (survey)
#8E82FE
ΔE00 6.13
Lighter Purple
#A55AF4
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A474FB #CBFB74
analogous
#7488FB #A474FB #E774FB
triadic
#A474FB #FBA474 #74FBA4
tetradic
#A474FB #FB7488 #CBFB74 #74FBE7
square
#A474FB #FB7488 #CBFB74 #74FBE7
split-complementary
#A474FB #FBE774 #88FB74
monochromatic
#5907EE #7D39F9 #A474FB #CBAFFD #ECE1FE
Accessibility & contrast
On white
3.25
#A474FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.47
#A474FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A474FB
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A474FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A474FB | 1.00 | 3.25 | 6.47 | 6.47 |
| #FFFFFF | 3.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#498DF8
Tritanopia (blue-blind)
#908FAD
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a474fb; /* rgb */ color: rgb(164, 116, 251); /* oklch */ color: oklch(66.9% 0.194 297.3);
Tailwind
colors: {
custom: {
50: '#c39dfd',
500: '#a474fb',
950: '#000000',
},
}SCSS
$custom: #a474fb; $custom-light: #c39dfd; $custom-dark: #000000;
JSON
{
"hex": "#a474fb",
"rgb": {
"r": 164,
"g": 116,
"b": 251
},
"hsl": {
"h": 261.333,
"s": 94.406,
"l": 71.961
},
"oklch": {
"l": 0.66866,
"c": 0.19413,
"h": 297.3
},
"luminance": 0.27348
}Semantic roles & 50–950 ramp
primary
#A474FB
secondary
#EAF6D4
accent
#E60094
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86