#9754CF#9754CF
#9754CF is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.187 H 306.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #9754CF |
|---|---|
| RGB | rgb(151, 84, 207) |
| HSL | hsl(273, 56%, 57%) |
| HSV | hsv(273, 59%, 81%) |
| CMYK | cmyk(27.1%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(48.79, 50.19, -53.12) |
| CIE-LCH | lch(48.79, 73.08, 313.38°) |
| OKLab | oklab(58% 0.1113 -0.1499) |
| OKLCH | oklch(58% 0.187 306.6) |
| XYZ | xyz(27.1929, 17.4252, 60.9502) |
| Luminance | 0.1742 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.91
Amethyst
#9B5FC0
ΔE00 4.26
Purpley
#8756E4
ΔE00 4.81
Deep Lavender
#8D5EB7
ΔE00 4.89
Lighter Purple
#A55AF4
ΔE00 6.18
Darkorchid
#9932CC
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9754CF #8CCF54
analogous
#5A54CF #9754CF #CF54C9
triadic
#9754CF #CF9754 #54CF97
tetradic
#9754CF #CF5A54 #8CCF54 #54C9CF
square
#9754CF #CF5A54 #8CCF54 #54C9CF
split-complementary
#9754CF #C9CF54 #54CF5A
monochromatic
#592584 #7932B3 #9754CF #B484DC #D1B4EA
Accessibility & contrast
On white
4.68
#9754CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#9754CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9754CF
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9754CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9754CF | 1.00 | 4.68 | 4.48 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D72D3
Deuteranopia (green-blind)
#3E74CC
Tritanopia (blue-blind)
#8E6C8A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9754cf; /* rgb */ color: rgb(151, 84, 207); /* oklch */ color: oklch(58.0% 0.187 306.6);
Tailwind
colors: {
custom: {
50: '#b987de',
500: '#9754cf',
950: '#000000',
},
}SCSS
$custom: #9754cf; $custom-light: #b987de; $custom-dark: #000000;
JSON
{
"hex": "#9754cf",
"rgb": {
"r": 151,
"g": 84,
"b": 207
},
"hsl": {
"h": 272.683,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.58001,
"c": 0.18671,
"h": 306.6
},
"luminance": 0.17425
}Semantic roles & 50–950 ramp
primary
#9754CF
secondary
#BDD8A6
accent
#DF488D
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120B15
muted
#817C83