#9338C2#9338C2
#9338C2 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.2% C 0.209 H 311.5°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9338C2 |
|---|---|
| RGB | rgb(147, 56, 194) |
| HSL | hsl(280, 55%, 49%) |
| HSV | hsv(280, 71%, 76%) |
| CMYK | cmyk(24.2%, 71.1%, 0%, 23.9%) |
| CIE-LAB | lab(42.65, 59.59, -55.51) |
| CIE-LCH | lch(42.65, 81.43, 317.03°) |
| OKLab | oklab(53.2% 0.1387 -0.1569) |
| OKLCH | oklch(53.2% 0.209 311.5) |
| XYZ | xyz(23.1826, 12.9270, 52.3024) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.64
Purply
#983FB2
ΔE00 3.45
Darkviolet
#9400D3
ΔE00 5.12
Blueviolet
#8A2BE2
ΔE00 5.21
Vibrant Purple
#AD03DE
ΔE00 5.32
Barney
#AC1DB8
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9338C2 #67C238
analogous
#4E38C2 #9338C2 #C238AC
triadic
#9338C2 #C29338 #38C293
tetradic
#9338C2 #C24E38 #67C238 #38ACC2
square
#9338C2 #C24E38 #67C238 #38ACC2
split-complementary
#9338C2 #ACC238 #38C24E
monochromatic
#4B1D63 #6F2A93 #9338C2 #AD65D2 #C694E0
Accessibility & contrast
On white
5.86
#9338C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#9338C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9338C2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9338C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9338C2 | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#2566BF
Tritanopia (blue-blind)
#8D5679
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #9338c2; /* rgb */ color: rgb(147, 56, 194); /* oklch */ color: oklch(53.2% 0.209 311.5);
Tailwind
colors: {
custom: {
50: '#b777d5',
500: '#9338c2',
950: '#000000',
},
}SCSS
$custom: #9338c2; $custom-light: #b777d5; $custom-dark: #000000;
JSON
{
"hex": "#9338c2",
"rgb": {
"r": 147,
"g": 56,
"b": 194
},
"hsl": {
"h": 279.565,
"s": 55.2,
"l": 49.02
},
"oklch": {
"l": 0.53201,
"c": 0.20946,
"h": 311.5
},
"luminance": 0.12926
}Semantic roles & 50–950 ramp
primary
#9338C2
secondary
#A1CB8A
accent
#DF497C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83