#9D54CF#9D54CF
#9D54CF is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.7% C 0.189 H 309.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9D54CF |
|---|---|
| RGB | rgb(157, 84, 207) |
| HSL | hsl(276, 56%, 57%) |
| HSV | hsv(276, 59%, 81%) |
| CMYK | cmyk(24.2%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(49.51, 51.63, -51.92) |
| CIE-LCH | lch(49.51, 73.22, 314.84°) |
| OKLab | oklab(58.68% 0.1189 -0.1462) |
| OKLCH | oklch(58.68% 0.189 309.1) |
| XYZ | xyz(28.3352, 18.0142, 61.0038) |
| Luminance | 0.1801 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.50
Amethyst
#9B5FC0
ΔE00 3.78
Deep Lavender
#8D5EB7
ΔE00 5.15
Purpley
#8756E4
ΔE00 5.75
Mediumorchid
#BA55D3
ΔE00 5.78
Lighter Purple
#A55AF4
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D54CF #86CF54
analogous
#6054CF #9D54CF #CF54C3
triadic
#9D54CF #CF9D54 #54CF9D
tetradic
#9D54CF #CF6054 #86CF54 #54C3CF
square
#9D54CF #CF6054 #86CF54 #54C3CF
split-complementary
#9D54CF #C3CF54 #54CF60
monochromatic
#5D2584 #7F32B3 #9D54CF #B884DC #D4B4EA
Accessibility & contrast
On white
4.56
#9D54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#9D54CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D54CF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D54CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D54CF | 1.00 | 4.56 | 4.60 | 4.60 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#4477CC
Tritanopia (blue-blind)
#966B8A
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #9d54cf; /* rgb */ color: rgb(157, 84, 207); /* oklch */ color: oklch(58.7% 0.189 309.1);
Tailwind
colors: {
custom: {
50: '#bd88de',
500: '#9d54cf',
950: '#000000',
},
}SCSS
$custom: #9d54cf; $custom-light: #bd88de; $custom-dark: #000000;
JSON
{
"hex": "#9d54cf",
"rgb": {
"r": 157,
"g": 84,
"b": 207
},
"hsl": {
"h": 275.61,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.58685,
"c": 0.1885,
"h": 309.1
},
"luminance": 0.18014
}Semantic roles & 50–950 ramp
primary
#9D54CF
secondary
#BBD8A6
accent
#DF4886
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83