#9751CF#9751CF
#9751CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.191 H 307.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #9751CF |
|---|---|
| RGB | rgb(151, 81, 207) |
| HSL | hsl(273, 57%, 56%) |
| HSV | hsv(273, 61%, 81%) |
| CMYK | cmyk(27.1%, 60.9%, 0%, 18.8%) |
| CIE-LAB | lab(48.22, 51.73, -54.03) |
| CIE-LCH | lch(48.22, 74.80, 313.75°) |
| OKLab | oklab(57.59% 0.1149 -0.1526) |
| OKLCH | oklch(57.59% 0.191 307) |
| XYZ | xyz(26.9651, 16.9695, 60.8743) |
| Luminance | 0.1697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 4.08
Amethyst
#9B5FC0
ΔE00 4.79
Purpley
#8756E4
ΔE00 4.90
Deep Lavender
#8D5EB7
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.94
Purply
#983FB2
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9751CF #89CF51
analogous
#5851CF #9751CF #CF51C8
triadic
#9751CF #CF9751 #51CF97
tetradic
#9751CF #CF5851 #89CF51 #51C8CF
square
#9751CF #CF5851 #89CF51 #51C8CF
split-complementary
#9751CF #C8CF51 #51CF58
monochromatic
#582482 #7931B2 #9751CF #B481DC #D0B1E9
Accessibility & contrast
On white
4.78
#9751CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#9751CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #9751CF
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9751CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9751CF | 1.00 | 4.78 | 4.39 | 4.78 |
| #FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1270D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#8E6A88
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #9751cf; /* rgb */ color: rgb(151, 81, 207); /* oklch */ color: oklch(57.6% 0.191 307.0);
Tailwind
colors: {
custom: {
50: '#b985de',
500: '#9751cf',
950: '#000000',
},
}SCSS
$custom: #9751cf; $custom-light: #b985de; $custom-dark: #000000;
JSON
{
"hex": "#9751cf",
"rgb": {
"r": 151,
"g": 81,
"b": 207
},
"hsl": {
"h": 273.333,
"s": 56.757,
"l": 56.471
},
"oklch": {
"l": 0.57586,
"c": 0.19104,
"h": 307
},
"luminance": 0.16969
}Semantic roles & 50–950 ramp
primary
#9751CF
secondary
#BBD8A4
accent
#E0488B
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83