#9B54CF#9B54CF
#9B54CF is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.5% C 0.188 H 308.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9B54CF |
|---|---|
| RGB | rgb(155, 84, 207) |
| HSL | hsl(275, 56%, 57%) |
| HSV | hsv(275, 59%, 81%) |
| CMYK | cmyk(25.1%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(49.27, 51.15, -52.33) |
| CIE-LCH | lch(49.27, 73.17, 314.35°) |
| OKLab | oklab(58.46% 0.1164 -0.1475) |
| OKLCH | oklch(58.46% 0.188 308.3) |
| XYZ | xyz(27.9481, 17.8146, 60.9856) |
| Luminance | 0.1781 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.59
Amethyst
#9B5FC0
ΔE00 3.90
Deep Lavender
#8D5EB7
ΔE00 5.03
Purpley
#8756E4
ΔE00 5.42
Lighter Purple
#A55AF4
ΔE00 5.99
Mediumorchid
#BA55D3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B54CF #88CF54
analogous
#5E54CF #9B54CF #CF54C6
triadic
#9B54CF #CF9B54 #54CF9B
tetradic
#9B54CF #CF5E54 #88CF54 #54C6CF
square
#9B54CF #CF5E54 #88CF54 #54C6CF
split-complementary
#9B54CF #C6CF54 #54CF5E
monochromatic
#5C2584 #7D32B3 #9B54CF #B784DC #D3B4EA
Accessibility & contrast
On white
4.60
#9B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#9B54CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9B54CF
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B54CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9B54CF | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2172D3
Deuteranopia (green-blind)
#4276CC
Tritanopia (blue-blind)
#936C8A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #9b54cf; /* rgb */ color: rgb(155, 84, 207); /* oklch */ color: oklch(58.5% 0.188 308.3);
Tailwind
colors: {
custom: {
50: '#bc87de',
500: '#9b54cf',
950: '#000000',
},
}SCSS
$custom: #9b54cf; $custom-light: #bc87de; $custom-dark: #000000;
JSON
{
"hex": "#9b54cf",
"rgb": {
"r": 155,
"g": 84,
"b": 207
},
"hsl": {
"h": 274.634,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.58455,
"c": 0.18787,
"h": 308.3
},
"luminance": 0.17814
}Semantic roles & 50–950 ramp
primary
#9B54CF
secondary
#BCD8A6
accent
#DF4888
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83