#9A58CD#9A58CD
#9A58CD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.8% C 0.179 H 307.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9A58CD |
|---|---|
| RGB | rgb(154, 88, 205) |
| HSL | hsl(274, 54%, 57%) |
| HSV | hsv(274, 57%, 80%) |
| CMYK | cmyk(24.9%, 57.1%, 0%, 19.6%) |
| CIE-LAB | lab(49.81, 48.38, -50.33) |
| CIE-LCH | lch(49.81, 69.81, 313.87°) |
| OKLab | oklab(58.78% 0.1101 -0.1417) |
| OKLCH | oklch(58.78% 0.179 307.8) |
| XYZ | xyz(27.8334, 18.2576, 59.8036) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.09
Lightish Purple
#A552E6
ΔE00 3.94
Deep Lavender
#8D5EB7
ΔE00 4.38
Purpley
#8756E4
ΔE00 5.61
Lighter Purple
#A55AF4
ΔE00 5.99
Mediumorchid
#BA55D3
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A58CD #8BCD58
analogous
#5F58CD #9A58CD #CD58C6
triadic
#9A58CD #CD9A58 #58CD9A
tetradic
#9A58CD #CD5F58 #8BCD58 #58C6CD
square
#9A58CD #CD5F58 #8BCD58 #58C6CD
split-complementary
#9A58CD #C6CD58 #58CD5F
monochromatic
#5B2783 #7C35B2 #9A58CD #B687DB #D3B6E9
Accessibility & contrast
On white
4.51
#9A58CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#9A58CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A58CD
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A58CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A58CD | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4777CA
Tritanopia (blue-blind)
#926E8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9a58cd; /* rgb */ color: rgb(154, 88, 205); /* oklch */ color: oklch(58.8% 0.179 307.8);
Tailwind
colors: {
custom: {
50: '#bb8add',
500: '#9a58cd',
950: '#000000',
},
}SCSS
$custom: #9a58cd; $custom-light: #bb8add; $custom-dark: #000000;
JSON
{
"hex": "#9a58cd",
"rgb": {
"r": 154,
"g": 88,
"b": 205
},
"hsl": {
"h": 273.846,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.58783,
"c": 0.1794,
"h": 307.8
},
"luminance": 0.18257
}Semantic roles & 50–950 ramp
primary
#9A58CD
secondary
#BDD8A9
accent
#DD4B8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83