#9778CF#9778CF
#9778CF is a light, vivid violet. Relative luminance 0.245; OKLCH L 63.8% C 0.130 H 299.1°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9778CF |
|---|---|
| RGB | rgb(151, 120, 207) |
| HSL | hsl(261, 48%, 64%) |
| HSV | hsv(261, 42%, 81%) |
| CMYK | cmyk(27.1%, 42%, 0%, 18.8%) |
| CIE-LAB | lab(56.60, 30.27, -40.71) |
| CIE-LCH | lch(56.60, 50.73, 306.63°) |
| OKLab | oklab(63.8% 0.0634 -0.1138) |
| OKLCH | oklch(63.8% 0.13 299.1) |
| XYZ | xyz(30.7389, 24.5170, 62.1322) |
| Luminance | 0.2452 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.61
Deep Lilac
#966EBD
ΔE00 4.37
Wisteria
#A87DC2
ΔE00 5.93
Soft Purple
#A66FB5
ΔE00 7.72
Light Urple
#B36FF6
ΔE00 7.73
Amethyst
#9B5FC0
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9778CF #B0CF78
analogous
#7885CF #9778CF #C378CF
triadic
#9778CF #CF9778 #78CF97
tetradic
#9778CF #CF7885 #B0CF78 #78CFC3
square
#9778CF #CF7885 #B0CF78 #78CFC3
split-complementary
#9778CF #CFC378 #85CF78
monochromatic
#583697 #744BBF #9778CF #BAA5DF #DDD2EF
Accessibility & contrast
On white
3.56
#9778CF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#9778CF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9778CF
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9778CF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9778CF | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6088D2
Deuteranopia (green-blind)
#6687CD
Tritanopia (blue-blind)
#8C879A
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9778cf; /* rgb */ color: rgb(151, 120, 207); /* oklch */ color: oklch(63.8% 0.130 299.1);
Tailwind
colors: {
custom: {
50: '#b79fde',
500: '#9778cf',
950: '#000000',
},
}SCSS
$custom: #9778cf; $custom-light: #b79fde; $custom-dark: #000000;
JSON
{
"hex": "#9778cf",
"rgb": {
"r": 151,
"g": 120,
"b": 207
},
"hsl": {
"h": 261.379,
"s": 47.541,
"l": 64.118
},
"oklch": {
"l": 0.63803,
"c": 0.13024,
"h": 299.1
},
"luminance": 0.24517
}Semantic roles & 50–950 ramp
primary
#9778CF
secondary
#D6E1C2
accent
#BB2B87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83