#9A6BCF#9A6BCF
#9A6BCF is a mid, vivid violet. Relative luminance 0.219; OKLCH L 61.9% C 0.152 H 304.0°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6BCF |
|---|---|
| RGB | rgb(154, 107, 207) |
| HSL | hsl(268, 51%, 62%) |
| HSV | hsv(268, 48%, 81%) |
| CMYK | cmyk(25.6%, 48.3%, 0%, 18.8%) |
| CIE-LAB | lab(53.91, 38.50, -44.94) |
| CIE-LCH | lch(53.91, 59.18, 310.59°) |
| OKLab | oklab(61.85% 0.085 -0.126) |
| OKLCH | oklch(61.85% 0.152 304) |
| XYZ | xyz(29.8442, 21.8905, 61.6724) |
| Luminance | 0.2189 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.25
Deep Lilac
#966EBD
ΔE00 3.57
Amethyst
#9B5FC0
ΔE00 4.31
Deep Lavender
#8D5EB7
ΔE00 5.83
Lighter Purple
#A55AF4
ΔE00 6.70
Lightish Purple
#A552E6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6BCF #A0CF6B
analogous
#6B6ECF #9A6BCF #CC6BCF
triadic
#9A6BCF #CF9A6B #6BCF9A
tetradic
#9A6BCF #CF6B6E #A0CF6B #6BCFCC
square
#9A6BCF #CF6B6E #A0CF6B #6BCFCC
split-complementary
#9A6BCF #CFCC6B #6ECF6B
monochromatic
#5D2F91 #7B3EBF #9A6BCF #BA99DE #D9C7ED
Accessibility & contrast
On white
3.90
#9A6BCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.38
#9A6BCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6BCF
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6BCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6BCF | 1.00 | 3.90 | 5.38 | 5.38 |
| #FFFFFF | 3.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E80D3
Deuteranopia (green-blind)
#5A81CC
Tritanopia (blue-blind)
#917D93
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #9a6bcf; /* rgb */ color: rgb(154, 107, 207); /* oklch */ color: oklch(61.9% 0.152 304.0);
Tailwind
colors: {
custom: {
50: '#ba96de',
500: '#9a6bcf',
950: '#000000',
},
}SCSS
$custom: #9a6bcf; $custom-light: #ba96de; $custom-dark: #000000;
JSON
{
"hex": "#9a6bcf",
"rgb": {
"r": 154,
"g": 107,
"b": 207
},
"hsl": {
"h": 268.2,
"s": 51.02,
"l": 61.569
},
"oklch": {
"l": 0.61852,
"c": 0.15198,
"h": 304
},
"luminance": 0.2189
}Semantic roles & 50–950 ramp
primary
#9A6BCF
secondary
#CCDEB8
accent
#BE2777
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120D15
muted
#817E83