#9772C8#9772C8
#9772C8 is a light, vivid violet. Relative luminance 0.228; OKLCH L 62.4% C 0.131 H 302.6°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9772C8 |
|---|---|
| RGB | rgb(151, 114, 200) |
| HSL | hsl(266, 44%, 62%) |
| HSV | hsv(266, 43%, 78%) |
| CMYK | cmyk(24.5%, 43%, 0%, 21.6%) |
| CIE-LAB | lab(54.85, 32.01, -39.50) |
| CIE-LCH | lch(54.85, 50.84, 309.02°) |
| OKLab | oklab(62.37% 0.0706 -0.1102) |
| OKLCH | oklch(62.37% 0.131 302.6) |
| XYZ | xyz(29.2029, 22.7841, 57.4917) |
| Luminance | 0.2278 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.34
Mediumpurple
#9370DB
ΔE00 3.92
Wisteria
#A87DC2
ΔE00 5.80
Amethyst
#9B5FC0
ΔE00 5.84
Soft Purple
#A66FB5
ΔE00 6.25
Deep Lavender
#8D5EB7
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9772C8 #A3C872
analogous
#7278C8 #9772C8 #C272C8
triadic
#9772C8 #C89772 #72C897
tetradic
#9772C8 #C87278 #A3C872 #72C8C2
square
#9772C8 #C87278 #A3C872 #72C8C2
split-complementary
#9772C8 #C8C272 #78C872
monochromatic
#5A368A #7747B6 #9772C8 #B79ED9 #D8CAEA
Accessibility & contrast
On white
3.78
#9772C8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.56
#9772C8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9772C8
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9772C8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9772C8 | 1.00 | 3.78 | 5.56 | 5.56 |
| #FFFFFF | 3.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C82CB
Deuteranopia (green-blind)
#6483C6
Tritanopia (blue-blind)
#8E8093
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9772c8; /* rgb */ color: rgb(151, 114, 200); /* oklch */ color: oklch(62.4% 0.131 302.6);
Tailwind
colors: {
custom: {
50: '#b79bd9',
500: '#9772c8',
950: '#000000',
},
}SCSS
$custom: #9772c8; $custom-light: #b79bd9; $custom-dark: #000000;
JSON
{
"hex": "#9772c8",
"rgb": {
"r": 151,
"g": 114,
"b": 200
},
"hsl": {
"h": 265.814,
"s": 43.878,
"l": 61.569
},
"oklch": {
"l": 0.6237,
"c": 0.1309,
"h": 302.6
},
"luminance": 0.22784
}Semantic roles & 50–950 ramp
primary
#9772C8
secondary
#CDDBBB
accent
#B72E7C
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83