#9772CD#9772CD
#9772CD is a light, vivid violet. Relative luminance 0.230; OKLCH L 62.6% C 0.137 H 301.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #9772CD |
|---|---|
| RGB | rgb(151, 114, 205) |
| HSL | hsl(264, 48%, 63%) |
| HSV | hsv(264, 44%, 80%) |
| CMYK | cmyk(26.3%, 44.4%, 0%, 19.6%) |
| CIE-LAB | lab(55.09, 33.22, -41.95) |
| CIE-LCH | lch(55.09, 53.51, 308.37°) |
| OKLab | oklab(62.64% 0.0714 -0.1174) |
| OKLCH | oklch(62.64% 0.137 301.3) |
| XYZ | xyz(29.7968, 23.0216, 60.6196) |
| Luminance | 0.2302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.98
Deep Lilac
#966EBD
ΔE00 3.20
Amethyst
#9B5FC0
ΔE00 6.09
Wisteria
#A87DC2
ΔE00 6.40
Soft Purple
#A66FB5
ΔE00 7.04
Deep Lavender
#8D5EB7
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9772CD #A8CD72
analogous
#727ACD #9772CD #C572CD
triadic
#9772CD #CD9772 #72CD97
tetradic
#9772CD #CD727A #A8CD72 #72CDC5
square
#9772CD #CD727A #A8CD72 #72CDC5
split-complementary
#9772CD #CDC572 #7ACD72
monochromatic
#5A3391 #7645BD #9772CD #B89FDD #DACCED
Accessibility & contrast
On white
3.75
#9772CD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.60
#9772CD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9772CD
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9772CD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9772CD | 1.00 | 3.75 | 5.60 | 5.60 |
| #FFFFFF | 3.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5983D0
Deuteranopia (green-blind)
#6183CB
Tritanopia (blue-blind)
#8D8296
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #9772cd; /* rgb */ color: rgb(151, 114, 205); /* oklch */ color: oklch(62.6% 0.137 301.3);
Tailwind
colors: {
custom: {
50: '#b79bdc',
500: '#9772cd',
950: '#000000',
},
}SCSS
$custom: #9772cd; $custom-light: #b79bdc; $custom-dark: #000000;
JSON
{
"hex": "#9772cd",
"rgb": {
"r": 151,
"g": 114,
"b": 205
},
"hsl": {
"h": 264.396,
"s": 47.644,
"l": 62.549
},
"oklch": {
"l": 0.62635,
"c": 0.13739,
"h": 301.3
},
"luminance": 0.23022
}Semantic roles & 50–950 ramp
primary
#9772CD
secondary
#D0DEBD
accent
#BB2B80
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83