#9B38CD#9B38CD
#9B38CD is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 55.0% C 0.222 H 311.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #9B38CD |
|---|---|
| RGB | rgb(155, 56, 205) |
| HSL | hsl(280, 60%, 51%) |
| HSV | hsv(280, 73%, 80%) |
| CMYK | cmyk(24.4%, 72.7%, 0%, 19.6%) |
| CIE-LAB | lab(44.53, 63.47, -58.81) |
| CIE-LCH | lch(44.53, 86.53, 317.19°) |
| OKLab | oklab(55% 0.1475 -0.1663) |
| OKLCH | oklch(55% 0.222 311.6) |
| XYZ | xyz(25.9491, 14.2054, 59.1207) |
| Luminance | 0.1421 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.15
Vibrant Purple
#AD03DE
ΔE00 4.04
Purply
#983FB2
ΔE00 4.33
Blueviolet
#8A2BE2
ΔE00 4.97
Violet (survey)
#9A0EEA
ΔE00 5.02
Barney
#AC1DB8
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B38CD #6ACD38
analogous
#5038CD #9B38CD #CD38B4
triadic
#9B38CD #CD9B38 #38CD9B
tetradic
#9B38CD #CD5038 #6ACD38 #38B4CD
square
#9B38CD #CD5038 #6ACD38 #38B4CD
split-complementary
#9B38CD #B4CD38 #38CD50
monochromatic
#531C6F #7828A0 #9B38CD #B469D9 #CC9AE6
Accessibility & contrast
On white
5.47
#9B38CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#9B38CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9B38CD
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B38CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B38CD | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#216BCA
Tritanopia (blue-blind)
#955A80
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #9b38cd; /* rgb */ color: rgb(155, 56, 205); /* oklch */ color: oklch(55.0% 0.222 311.6);
Tailwind
colors: {
custom: {
50: '#bd78dd',
500: '#9b38cd',
950: '#000000',
},
}SCSS
$custom: #9b38cd; $custom-light: #bd78dd; $custom-dark: #000000;
JSON
{
"hex": "#9b38cd",
"rgb": {
"r": 155,
"g": 56,
"b": 205
},
"hsl": {
"h": 279.866,
"s": 59.839,
"l": 51.176
},
"oklch": {
"l": 0.55002,
"c": 0.22235,
"h": 311.6
},
"luminance": 0.14205
}Semantic roles & 50–950 ramp
primary
#9B38CD
secondary
#A6D18F
accent
#E3457A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83