#9B3FE2#9B3FE2
#9B3FE2 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.2% C 0.235 H 305.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #9B3FE2 |
|---|---|
| RGB | rgb(155, 63, 226) |
| HSL | hsl(274, 74%, 57%) |
| HSV | hsv(274, 72%, 89%) |
| CMYK | cmyk(31.4%, 72.1%, 0%, 11.4%) |
| CIE-LAB | lab(46.99, 65.16, -66.83) |
| CIE-LCH | lch(46.99, 93.34, 314.27°) |
| OKLab | oklab(57.22% 0.1376 -0.19) |
| OKLCH | oklch(57.22% 0.235 305.9) |
| XYZ | xyz(29.0195, 16.0148, 73.4991) |
| Luminance | 0.1601 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Electric Purple
#AA23FF
ΔE00 4.11
Darkorchid
#9932CC
ΔE00 4.22
Bright Violet
#AD0AFD
ΔE00 4.60
Lightish Purple
#A552E6
ΔE00 4.79
Blueviolet
#8A2BE2
ΔE00 4.94
Violet (survey)
#9A0EEA
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B3FE2 #86E23F
analogous
#4A3FE2 #9B3FE2 #E23FD8
triadic
#9B3FE2 #E29B3F #3FE29B
tetradic
#9B3FE2 #E24A3F #86E23F #3FD8E2
square
#9B3FE2 #E24A3F #86E23F #3FD8E2
split-complementary
#9B3FE2 #D8E23F #3FE24A
monochromatic
#5B1691 #7D1EC6 #9B3FE2 #B774EA #D2A9F2
Accessibility & contrast
On white
5.00
#9B3FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#9B3FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B3FE2
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B3FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B3FE2 | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0070DF
Tritanopia (blue-blind)
#8E668D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #9b3fe2; /* rgb */ color: rgb(155, 63, 226); /* oklch */ color: oklch(57.2% 0.235 305.9);
Tailwind
colors: {
custom: {
50: '#be7cec',
500: '#9b3fe2',
950: '#000000',
},
}SCSS
$custom: #9b3fe2; $custom-light: #be7cec; $custom-dark: #000000;
JSON
{
"hex": "#9b3fe2",
"rgb": {
"r": 155,
"g": 63,
"b": 226
},
"hsl": {
"h": 273.865,
"s": 73.756,
"l": 56.667
},
"oklch": {
"l": 0.57216,
"c": 0.23455,
"h": 305.9
},
"luminance": 0.16015
}Semantic roles & 50–950 ramp
primary
#9B3FE2
secondary
#BAE09D
accent
#F03788
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130A16
muted
#827C84