#9772CE#9772CE
#9772CE is a light, vivid violet. Relative luminance 0.231; OKLCH L 62.7% C 0.139 H 301.1°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #9772CE |
|---|---|
| RGB | rgb(151, 114, 206) |
| HSL | hsl(264, 48%, 63%) |
| HSV | hsv(264, 45%, 81%) |
| CMYK | cmyk(26.7%, 44.7%, 0%, 19.2%) |
| CIE-LAB | lab(55.14, 33.46, -42.44) |
| CIE-LCH | lch(55.14, 54.05, 308.25°) |
| OKLab | oklab(62.69% 0.0715 -0.1188) |
| OKLCH | oklch(62.69% 0.139 301.1) |
| XYZ | xyz(29.9179, 23.0701, 61.2574) |
| Luminance | 0.2307 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.80
Deep Lilac
#966EBD
ΔE00 3.38
Amethyst
#9B5FC0
ΔE00 6.16
Wisteria
#A87DC2
ΔE00 6.53
Deep Lavender
#8D5EB7
ΔE00 7.15
Soft Purple
#A66FB5
ΔE00 7.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9772CE #A9CE72
analogous
#727BCE #9772CE #C572CE
triadic
#9772CE #CE9772 #72CE97
tetradic
#9772CE #CE727B #A9CE72 #72CEC5
square
#9772CE #CE727B #A9CE72 #72CEC5
split-complementary
#9772CE #CEC572 #7BCE72
monochromatic
#593393 #7545BE #9772CE #B89FDE #DACDEE
Accessibility & contrast
On white
3.74
#9772CE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.61
#9772CE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9772CE
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9772CE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9772CE | 1.00 | 3.74 | 5.61 | 5.61 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5884D1
Deuteranopia (green-blind)
#6084CC
Tritanopia (blue-blind)
#8D8296
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9772ce; /* rgb */ color: rgb(151, 114, 206); /* oklch */ color: oklch(62.7% 0.139 301.1);
Tailwind
colors: {
custom: {
50: '#b89bdd',
500: '#9772ce',
950: '#000000',
},
}SCSS
$custom: #9772ce; $custom-light: #b89bdd; $custom-dark: #000000;
JSON
{
"hex": "#9772ce",
"rgb": {
"r": 151,
"g": 114,
"b": 206
},
"hsl": {
"h": 264.13,
"s": 48.421,
"l": 62.745
},
"oklch": {
"l": 0.62689,
"c": 0.13868,
"h": 301.1
},
"luminance": 0.2307
}Semantic roles & 50–950 ramp
primary
#9772CE
secondary
#D1DFBD
accent
#BC2A81
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83