#9F78CA#9F78CA
#9F78CA is a light, vivid violet. Relative luminance 0.251; OKLCH L 64.3% C 0.126 H 305.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #9F78CA |
|---|---|
| RGB | rgb(159, 120, 202) |
| HSL | hsl(269, 44%, 63%) |
| HSV | hsv(269, 41%, 79%) |
| CMYK | cmyk(21.3%, 40.6%, 0%, 20.8%) |
| CIE-LAB | lab(57.14, 31.38, -36.98) |
| CIE-LCH | lch(57.14, 48.50, 310.32°) |
| OKLab | oklab(64.32% 0.0721 -0.1028) |
| OKLCH | oklch(64.32% 0.126 305) |
| XYZ | xyz(31.6730, 25.0683, 59.0357) |
| Luminance | 0.2507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.70
Wisteria
#A87DC2
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 5.39
Soft Purple
#A66FB5
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 7.41
Light Urple
#B36FF6
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F78CA #A3CA78
analogous
#787ACA #9F78CA #C878CA
triadic
#9F78CA #CA9F78 #78CA9F
tetradic
#9F78CA #CA787A #A3CA78 #78CAC8
square
#9F78CA #CA787A #A3CA78 #78CAC8
split-complementary
#9F78CA #CAC878 #7ACA78
monochromatic
#62388F #804CB9 #9F78CA #BEA4DB #DED0ED
Accessibility & contrast
On white
3.49
#9F78CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.01
#9F78CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9F78CA
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F78CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F78CA | 1.00 | 3.49 | 6.01 | 6.01 |
| #FFFFFF | 3.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6588CD
Deuteranopia (green-blind)
#6D89C8
Tritanopia (blue-blind)
#988597
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #9f78ca; /* rgb */ color: rgb(159, 120, 202); /* oklch */ color: oklch(64.3% 0.126 305.0);
Tailwind
colors: {
custom: {
50: '#bd9fda',
500: '#9f78ca',
950: '#000000',
},
}SCSS
$custom: #9f78ca; $custom-light: #bd9fda; $custom-dark: #000000;
JSON
{
"hex": "#9f78ca",
"rgb": {
"r": 159,
"g": 120,
"b": 202
},
"hsl": {
"h": 268.537,
"s": 43.617,
"l": 63.137
},
"oklch": {
"l": 0.64316,
"c": 0.12556,
"h": 305
},
"luminance": 0.25068
}Semantic roles & 50–950 ramp
primary
#9F78CA
secondary
#D0DEC0
accent
#B72F76
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83