#9338AF#9338AF
#9338AF is a mid, vivid purple. Relative luminance 0.121; OKLCH L 51.9% C 0.191 H 317.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #9338AF |
|---|---|
| RGB | rgb(147, 56, 175) |
| HSL | hsl(286, 52%, 45%) |
| HSV | hsv(286, 68%, 69%) |
| CMYK | cmyk(16%, 68%, 0%, 31.4%) |
| CIE-LAB | lab(41.42, 55.66, -46.33) |
| CIE-LCH | lch(41.42, 72.42, 320.23°) |
| OKLab | oklab(51.93% 0.1405 -0.13) |
| OKLCH | oklch(51.93% 0.191 317.2) |
| XYZ | xyz(21.1835, 12.1274, 41.7741) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.90
Darkorchid
#9932CC
ΔE00 4.44
Barney
#AC1DB8
ΔE00 4.50
Medium Purple
#9E43A2
ΔE00 4.94
Ugly Purple
#A442A0
ΔE00 6.17
Warm Purple
#952E8F
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9338AF #54AF38
analogous
#5738AF #9338AF #AF3890
triadic
#9338AF #AF9338 #38AF93
tetradic
#9338AF #AF5738 #54AF38 #3890AF
square
#9338AF #AF5738 #54AF38 #3890AF
split-complementary
#9338AF #90AF38 #38AF57
monochromatic
#451A52 #6C2981 #9338AF #B05ACA #C688D9
Accessibility & contrast
On white
6.13
#9338AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#9338AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9338AF
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9338AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9338AF | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#3B64AC
Tritanopia (blue-blind)
#924F6F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #9338af; /* rgb */ color: rgb(147, 56, 175); /* oklch */ color: oklch(51.9% 0.191 317.2);
Tailwind
colors: {
custom: {
50: '#b676c7',
500: '#9338af',
950: '#000000',
},
}SCSS
$custom: #9338af; $custom-light: #b676c7; $custom-dark: #000000;
JSON
{
"hex": "#9338af",
"rgb": {
"r": 147,
"g": 56,
"b": 175
},
"hsl": {
"h": 285.882,
"s": 51.515,
"l": 45.294
},
"oklch": {
"l": 0.51925,
"c": 0.19139,
"h": 317.2
},
"luminance": 0.12127
}Semantic roles & 50–950 ramp
primary
#9338AF
secondary
#90C380
accent
#DB4D6E
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82