#9D5CCF#9D5CCF
#9D5CCF is a mid, vivid violet. Relative luminance 0.193; OKLCH L 59.8% C 0.176 H 308.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #9D5CCF |
|---|---|
| RGB | rgb(157, 92, 207) |
| HSL | hsl(274, 55%, 59%) |
| HSV | hsv(274, 56%, 81%) |
| CMYK | cmyk(24.2%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(51.07, 47.49, -49.44) |
| CIE-LCH | lch(51.07, 68.55, 313.85°) |
| OKLab | oklab(59.82% 0.1088 -0.139) |
| OKLCH | oklch(59.82% 0.177 308) |
| XYZ | xyz(28.9920, 19.3278, 61.2227) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.72
Lightish Purple
#A552E6
ΔE00 3.87
Deep Lavender
#8D5EB7
ΔE00 4.69
Lighter Purple
#A55AF4
ΔE00 5.47
Mediumorchid
#BA55D3
ΔE00 5.48
Purpley
#8756E4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D5CCF #8ECF5C
analogous
#635CCF #9D5CCF #CF5CC7
triadic
#9D5CCF #CF9D5C #5CCF9D
tetradic
#9D5CCF #CF635C #8ECF5C #5CC7CF
square
#9D5CCF #CF635C #8ECF5C #5CC7CF
split-complementary
#9D5CCF #C7CF5C #5CCF63
monochromatic
#5F2888 #7F36B8 #9D5CCF #B98BDD #D6BBEB
Accessibility & contrast
On white
4.32
#9D5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#9D5CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D5CCF
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D5CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D5CCF | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3577D3
Deuteranopia (green-blind)
#4D7ACC
Tritanopia (blue-blind)
#96718D
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #9d5ccf; /* rgb */ color: rgb(157, 92, 207); /* oklch */ color: oklch(59.8% 0.176 308.0);
Tailwind
colors: {
custom: {
50: '#bd8dde',
500: '#9d5ccf',
950: '#000000',
},
}SCSS
$custom: #9d5ccf; $custom-light: #bd8dde; $custom-dark: #000000;
JSON
{
"hex": "#9d5ccf",
"rgb": {
"r": 157,
"g": 92,
"b": 207
},
"hsl": {
"h": 273.913,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.59823,
"c": 0.1765,
"h": 308
},
"luminance": 0.19327
}Semantic roles & 50–950 ramp
primary
#9D5CCF
secondary
#C0DAAD
accent
#DE4A8A
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83