#9C3099#9C3099
#9C3099 is a mid, vivid purple. Relative luminance 0.115; OKLCH L 51.0% C 0.187 H 329.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #9C3099 |
|---|---|
| RGB | rgb(156, 48, 153) |
| HSL | hsl(302, 53%, 40%) |
| HSV | hsv(302, 69%, 61%) |
| CMYK | cmyk(0%, 69.2%, 1.9%, 38.8%) |
| CIE-LAB | lab(40.38, 56.91, -34.74) |
| CIE-LCH | lch(40.38, 66.67, 328.60°) |
| OKLab | oklab(51.05% 0.16 -0.0959) |
| OKLCH | oklch(51.05% 0.187 329.1) |
| XYZ | xyz(20.5168, 11.4832, 31.2667) |
| Luminance | 0.1148 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.03
Barney Purple
#A00498
ΔE00 3.72
Medium Purple
#9E43A2
ΔE00 3.85
Ugly Purple
#A442A0
ΔE00 4.15
Barney
#AC1DB8
ΔE00 5.31
Purply
#983FB2
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C3099 #309C33
analogous
#69309C #9C3099 #9C3063
triadic
#9C3099 #999C30 #30999C
tetradic
#9C3099 #9C6930 #309C33 #30639C
square
#9C3099 #9C6930 #309C33 #30639C
split-complementary
#9C3099 #639C30 #309C69
monochromatic
#3E133D #6D226B #9C3099 #C544C2 #D473D1
Accessibility & contrast
On white
6.37
#9C3099 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#9C3099 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9C3099
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C3099 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9C3099 | 1.00 | 6.37 | 3.30 | 6.37 |
| #FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#23569C
Deuteranopia (green-blind)
#4D6496
Tritanopia (blue-blind)
#A13E61
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #9c3099; /* rgb */ color: rgb(156, 48, 153); /* oklch */ color: oklch(51.0% 0.187 329.1);
Tailwind
colors: {
custom: {
50: '#bc72b7',
500: '#9c3099',
950: '#000000',
},
}SCSS
$custom: #9c3099; $custom-light: #bc72b7; $custom-dark: #000000;
JSON
{
"hex": "#9c3099",
"rgb": {
"r": 156,
"g": 48,
"b": 153
},
"hsl": {
"h": 301.667,
"s": 52.941,
"l": 40
},
"oklch": {
"l": 0.51047,
"c": 0.18656,
"h": 329.1
},
"luminance": 0.11482
}Semantic roles & 50–950 ramp
primary
#9C3099
secondary
#6CBC6E
accent
#DC4F4B
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80