#A793FA#A793FA
#A793FA is a light, vivid violet. Relative luminance 0.360; OKLCH L 72.3% C 0.147 H 291.2°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #A793FA |
|---|---|
| RGB | rgb(167, 147, 250) |
| HSL | hsl(252, 91%, 78%) |
| HSV | hsv(252, 41%, 98%) |
| CMYK | cmyk(33.2%, 41.2%, 0%, 2%) |
| CIE-LAB | lab(66.51, 30.04, -48.90) |
| CIE-LCH | lch(66.51, 57.39, 301.56°) |
| OKLab | oklab(72.32% 0.0532 -0.1373) |
| OKLCH | oklch(72.32% 0.147 291.2) |
| XYZ | xyz(43.6209, 35.9841, 95.0713) |
| Luminance | 0.3599 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 5.01
Lavender Blue
#8B88F8
ΔE00 5.75
Periwinkle Blue
#8F99FB
ΔE00 6.18
Periwinkle (survey)
#8E82FE
ΔE00 6.24
Liliac
#C48EFD
ΔE00 6.37
Pastel Purple
#CAA0FF
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A793FA #E6FA93
analogous
#93B3FA #A793FA #DA93FA
triadic
#A793FA #FAA793 #93FAA7
tetradic
#A793FA #FA93B3 #E6FA93 #93FADA
square
#A793FA #FA93B3 #E6FA93 #93FADA
split-complementary
#A793FA #FADA93 #B3FA93
monochromatic
#481EF5 #7759F7 #A793FA #D7CDFD #E7E2FE
Accessibility & contrast
On white
2.56
#A793FA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.20
#A793FA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A793FA
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A793FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A793FA | 1.00 | 2.56 | 8.20 | 8.20 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73A3FE
Deuteranopia (green-blind)
#74A0F7
Tritanopia (blue-blind)
#93A6BB
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a793fa; /* rgb */ color: rgb(167, 147, 250); /* oklch */ color: oklch(72.3% 0.147 291.2);
Tailwind
colors: {
custom: {
50: '#c4b3fc',
500: '#a793fa',
950: '#000000',
},
}SCSS
$custom: #a793fa; $custom-light: #c4b3fc; $custom-dark: #000000;
JSON
{
"hex": "#a793fa",
"rgb": {
"r": 167,
"g": 147,
"b": 250
},
"hsl": {
"h": 251.65,
"s": 91.15,
"l": 77.843
},
"oklch": {
"l": 0.72317,
"c": 0.14721,
"h": 291.2
},
"luminance": 0.35985
}Semantic roles & 50–950 ramp
primary
#A793FA
secondary
#EFF6D5
accent
#E600B9
background
#FCFBFF
surface
#F8F6FF
border
#D1D0D7
text
#131117
muted
#828085