#9751CD#9751CD
#9751CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.5% C 0.189 H 307.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #9751CD |
|---|---|
| RGB | rgb(151, 81, 205) |
| HSL | hsl(274, 55%, 56%) |
| HSV | hsv(274, 60%, 80%) |
| CMYK | cmyk(26.3%, 60.5%, 0%, 19.6%) |
| CIE-LAB | lab(48.10, 51.26, -53.08) |
| CIE-LCH | lch(48.10, 73.80, 314.00°) |
| OKLab | oklab(57.46% 0.115 -0.1498) |
| OKLCH | oklch(57.46% 0.189 307.5) |
| XYZ | xyz(26.7221, 16.8723, 59.5947) |
| Luminance | 0.1687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.32
Amethyst
#9B5FC0
ΔE00 4.62
Deep Lavender
#8D5EB7
ΔE00 5.07
Purpley
#8756E4
ΔE00 5.17
Darkorchid
#9932CC
ΔE00 5.89
Purply
#983FB2
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9751CD #87CD51
analogous
#5951CD #9751CD #CD51C5
triadic
#9751CD #CD9751 #51CD97
tetradic
#9751CD #CD5951 #87CD51 #51C5CD
square
#9751CD #CD5951 #87CD51 #51C5CD
split-complementary
#9751CD #C5CD51 #51CD59
monochromatic
#58257F #7832AF #9751CD #B381DB #D0B0E8
Accessibility & contrast
On white
4.80
#9751CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#9751CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9751CD
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9751CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9751CD | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1770D1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#8F6987
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9751cd; /* rgb */ color: rgb(151, 81, 205); /* oklch */ color: oklch(57.5% 0.189 307.5);
Tailwind
colors: {
custom: {
50: '#b985dd',
500: '#9751cd',
950: '#000000',
},
}SCSS
$custom: #9751cd; $custom-light: #b985dd; $custom-dark: #000000;
JSON
{
"hex": "#9751cd",
"rgb": {
"r": 151,
"g": 81,
"b": 205
},
"hsl": {
"h": 273.871,
"s": 55.357,
"l": 56.078
},
"oklch": {
"l": 0.57458,
"c": 0.18885,
"h": 307.5
},
"luminance": 0.16872
}Semantic roles & 50–950 ramp
primary
#9751CD
secondary
#BAD7A3
accent
#DF498A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83