#9B68BB#9B68BB
#9B68BB is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.4% C 0.133 H 311.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #9B68BB |
|---|---|
| RGB | rgb(155, 104, 187) |
| HSL | hsl(277, 38%, 57%) |
| HSV | hsv(277, 44%, 73%) |
| CMYK | cmyk(17.1%, 44.4%, 0%, 26.7%) |
| CIE-LAB | lab(52.35, 35.83, -35.95) |
| CIE-LCH | lch(52.35, 50.75, 314.91°) |
| OKLab | oklab(60.39% 0.0876 -0.0998) |
| OKLCH | oklch(60.39% 0.133 311.3) |
| XYZ | xyz(27.4359, 20.4575, 49.5075) |
| Luminance | 0.2046 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 2.27
Amethyst
#9B5FC0
ΔE00 2.92
Soft Purple
#A66FB5
ΔE00 4.17
Deep Lavender
#8D5EB7
ΔE00 4.37
Dark Lilac
#9C6DA5
ΔE00 5.83
Wisteria
#A87DC2
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9B68BB #88BB68
analogous
#7168BB #9B68BB #BB68B2
triadic
#9B68BB #BB9B68 #68BB9B
tetradic
#9B68BB #BB7168 #88BB68 #68B2BB
square
#9B68BB #BB7168 #88BB68 #68B2BB
split-complementary
#9B68BB #B2BB68 #68BB71
monochromatic
#5C3474 #7D479E #9B68BB #B792CE #D3BCE1
Accessibility & contrast
On white
4.12
#9B68BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#9B68BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9B68BB
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9B68BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9B68BB | 1.00 | 4.12 | 5.09 | 5.09 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#567ABE
Deuteranopia (green-blind)
#647EB9
Tritanopia (blue-blind)
#987589
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #9b68bb; /* rgb */ color: rgb(155, 104, 187); /* oklch */ color: oklch(60.4% 0.133 311.3);
Tailwind
colors: {
custom: {
50: '#ba94d0',
500: '#9b68bb',
950: '#000000',
},
}SCSS
$custom: #9b68bb; $custom-light: #ba94d0; $custom-dark: #000000;
JSON
{
"hex": "#9b68bb",
"rgb": {
"r": 155,
"g": 104,
"b": 187
},
"hsl": {
"h": 276.867,
"s": 37.9,
"l": 57.059
},
"oklch": {
"l": 0.60385,
"c": 0.13284,
"h": 311.3
},
"luminance": 0.20457
}Semantic roles & 50–950 ramp
primary
#9B68BB
secondary
#BCD0AF
accent
#CE5A87
background
#FBF9FC
surface
#F6F1F9
border
#D0CBD2
text
#120D14
muted
#817E82