#9351CC#9351CC
#9351CC is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.187 H 306.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9351CC |
|---|---|
| RGB | rgb(147, 81, 204) |
| HSL | hsl(272, 55%, 56%) |
| HSV | hsv(272, 60%, 80%) |
| CMYK | cmyk(27.9%, 60.3%, 0%, 20%) |
| CIE-LAB | lab(47.56, 50.09, -53.40) |
| CIE-LCH | lch(47.56, 73.22, 313.17°) |
| OKLab | oklab(56.94% 0.1098 -0.1509) |
| OKLCH | oklch(56.94% 0.187 306.1) |
| XYZ | xyz(25.8718, 16.4478, 58.9268) |
| Luminance | 0.1645 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.81
Lightish Purple
#A552E6
ΔE00 4.85
Deep Lavender
#8D5EB7
ΔE00 4.97
Amethyst
#9B5FC0
ΔE00 4.99
Darkorchid
#9932CC
ΔE00 5.80
Purply
#983FB2
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9351CC #8ACC51
analogous
#5551CC #9351CC #CC51C8
triadic
#9351CC #CC9351 #51CC93
tetradic
#9351CC #CC5551 #8ACC51 #51C8CC
square
#9351CC #CC5551 #8ACC51 #51C8CC
split-complementary
#9351CC #C8CC51 #51CC55
monochromatic
#55257E #7433AD #9351CC #B080DA #CEB0E8
Accessibility & contrast
On white
4.90
#9351CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#9351CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9351CC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9351CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9351CC | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#156FD0
Deuteranopia (green-blind)
#3971C9
Tritanopia (blue-blind)
#896A87
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #9351cc; /* rgb */ color: rgb(147, 81, 204); /* oklch */ color: oklch(56.9% 0.187 306.1);
Tailwind
colors: {
custom: {
50: '#b685dc',
500: '#9351cc',
950: '#000000',
},
}SCSS
$custom: #9351cc; $custom-light: #b685dc; $custom-dark: #000000;
JSON
{
"hex": "#9351cc",
"rgb": {
"r": 147,
"g": 81,
"b": 204
},
"hsl": {
"h": 272.195,
"s": 54.667,
"l": 55.882
},
"oklch": {
"l": 0.56938,
"c": 0.18662,
"h": 306.1
},
"luminance": 0.16448
}Semantic roles & 50–950 ramp
primary
#9351CC
secondary
#BBD6A3
accent
#DE4A8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83