#9754CB#9754CB
#9754CB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.7% C 0.182 H 307.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #9754CB |
|---|---|
| RGB | rgb(151, 84, 203) |
| HSL | hsl(274, 53%, 56%) |
| HSV | hsv(274, 59%, 80%) |
| CMYK | cmyk(25.6%, 58.6%, 0%, 20.4%) |
| CIE-LAB | lab(48.55, 49.27, -51.21) |
| CIE-LCH | lch(48.55, 71.06, 313.89°) |
| OKLab | oklab(57.75% 0.1113 -0.1443) |
| OKLCH | oklch(57.75% 0.182 307.6) |
| XYZ | xyz(26.7101, 17.2321, 58.4074) |
| Luminance | 0.1723 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.87
Lightish Purple
#A552E6
ΔE00 4.41
Deep Lavender
#8D5EB7
ΔE00 4.43
Purpley
#8756E4
ΔE00 5.37
Purply
#983FB2
ΔE00 6.43
Darkorchid
#9932CC
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9754CB #88CB54
analogous
#5C54CB #9754CB #CB54C3
triadic
#9754CB #CB9754 #54CB97
tetradic
#9754CB #CB5C54 #88CB54 #54C3CB
square
#9754CB #CB5C54 #88CB54 #54C3CB
split-complementary
#9754CB #C3CB54 #54CB5C
monochromatic
#58267E #7835AD #9754CB #B483D9 #D0B2E8
Accessibility & contrast
On white
4.72
#9754CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#9754CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9754CB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9754CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9754CB | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2571CF
Deuteranopia (green-blind)
#4274C8
Tritanopia (blue-blind)
#8F6B88
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #9754cb; /* rgb */ color: rgb(151, 84, 203); /* oklch */ color: oklch(57.7% 0.182 307.6);
Tailwind
colors: {
custom: {
50: '#b987db',
500: '#9754cb',
950: '#000000',
},
}SCSS
$custom: #9754cb; $custom-light: #b987db; $custom-dark: #000000;
JSON
{
"hex": "#9754cb",
"rgb": {
"r": 151,
"g": 84,
"b": 203
},
"hsl": {
"h": 273.782,
"s": 53.363,
"l": 56.275
},
"oklch": {
"l": 0.57748,
"c": 0.18225,
"h": 307.6
},
"luminance": 0.17232
}Semantic roles & 50–950 ramp
primary
#9754CB
secondary
#BAD6A5
accent
#DD4B8B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120B15
muted
#817C83