#9A3FE3#9A3FE3
#9A3FE3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.235 H 305.3°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9A3FE3 |
|---|---|
| RGB | rgb(154, 63, 227) |
| HSL | hsl(273, 75%, 57%) |
| HSV | hsv(273, 72%, 89%) |
| CMYK | cmyk(32.2%, 72.2%, 0%, 11%) |
| CIE-LAB | lab(46.94, 65.20, -67.50) |
| CIE-LCH | lch(46.94, 93.84, 314.01°) |
| OKLab | oklab(57.17% 0.1361 -0.192) |
| OKLCH | oklch(57.17% 0.235 305.3) |
| XYZ | xyz(28.9660, 15.9713, 74.2149) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 4.07
Darkorchid
#9932CC
ΔE00 4.31
Bright Violet
#AD0AFD
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 4.82
Lightish Purple
#A552E6
ΔE00 4.88
Violet (survey)
#9A0EEA
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A3FE3 #88E33F
analogous
#483FE3 #9A3FE3 #E33FDA
triadic
#9A3FE3 #E39A3F #3FE39A
tetradic
#9A3FE3 #E3483F #88E33F #3FDAE3
square
#9A3FE3 #E3483F #88E33F #3FDAE3
split-complementary
#9A3FE3 #DAE33F #3FE348
monochromatic
#5B1592 #7C1DC8 #9A3FE3 #B674EB #D2AAF3
Accessibility & contrast
On white
5.01
#9A3FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#9A3FE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9A3FE3
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A3FE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9A3FE3 | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#8D678E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9a3fe3; /* rgb */ color: rgb(154, 63, 227); /* oklch */ color: oklch(57.2% 0.235 305.3);
Tailwind
colors: {
custom: {
50: '#bd7ced',
500: '#9a3fe3',
950: '#000000',
},
}SCSS
$custom: #9a3fe3; $custom-light: #bd7ced; $custom-dark: #000000;
JSON
{
"hex": "#9a3fe3",
"rgb": {
"r": 154,
"g": 63,
"b": 227
},
"hsl": {
"h": 273.293,
"s": 74.545,
"l": 56.863
},
"oklch": {
"l": 0.57171,
"c": 0.23529,
"h": 305.3
},
"luminance": 0.15971
}Semantic roles & 50–950 ramp
primary
#9A3FE3
secondary
#BBE09D
accent
#F1378A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84