#A374FB#A374FB
#A374FB is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.8% C 0.194 H 296.9°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A374FB |
|---|---|
| RGB | rgb(163, 116, 251) |
| HSL | hsl(261, 94%, 72%) |
| HSV | hsv(261, 54%, 98%) |
| CMYK | cmyk(35.1%, 53.8%, 0%, 1.6%) |
| CIE-LAB | lab(59.20, 46.65, -61.10) |
| CIE-LCH | lch(59.20, 76.87, 307.36°) |
| OKLab | oklab(66.77% 0.0877 -0.173) |
| OKLCH | oklch(66.77% 0.194 296.9) |
| XYZ | xyz(38.7579, 27.2418, 94.4643) |
| Luminance | 0.2724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.47
Mediumpurple
#9370DB
ΔE00 5.21
Easter Purple
#C071FE
ΔE00 5.23
Light Purple
#BF77F6
ΔE00 5.60
Periwinkle (survey)
#8E82FE
ΔE00 5.99
Lighter Purple
#A55AF4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A374FB #CCFB74
analogous
#7489FB #A374FB #E774FB
triadic
#A374FB #FBA374 #74FBA3
tetradic
#A374FB #FB7489 #CCFB74 #74FBE7
square
#A374FB #FB7489 #CCFB74 #74FBE7
split-complementary
#A374FB #FBE774 #89FB74
monochromatic
#5707EE #7C39F9 #A374FB #CAAFFD #EBE1FE
Accessibility & contrast
On white
3.26
#A374FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.45
#A374FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A374FB
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A374FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A374FB | 1.00 | 3.26 | 6.45 | 6.45 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8FFF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#8F8FAD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a374fb; /* rgb */ color: rgb(163, 116, 251); /* oklch */ color: oklch(66.8% 0.194 296.9);
Tailwind
colors: {
custom: {
50: '#c29dfd',
500: '#a374fb',
950: '#000000',
},
}SCSS
$custom: #a374fb; $custom-light: #c29dfd; $custom-dark: #000000;
JSON
{
"hex": "#a374fb",
"rgb": {
"r": 163,
"g": 116,
"b": 251
},
"hsl": {
"h": 260.889,
"s": 94.406,
"l": 71.961
},
"oklch": {
"l": 0.66772,
"c": 0.19401,
"h": 296.9
},
"luminance": 0.27242
}Semantic roles & 50–950 ramp
primary
#A374FB
secondary
#EBF6D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86