#9A6FCE#9A6FCE
#9A6FCE is a light, vivid violet. Relative luminance 0.227; OKLCH L 62.5% C 0.144 H 303.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #9A6FCE |
|---|---|
| RGB | rgb(154, 111, 206) |
| HSL | hsl(267, 49%, 62%) |
| HSV | hsv(267, 46%, 81%) |
| CMYK | cmyk(25.2%, 46.1%, 0%, 19.2%) |
| CIE-LAB | lab(54.76, 36.01, -43.04) |
| CIE-LCH | lch(54.76, 56.11, 309.92°) |
| OKLab | oklab(62.47% 0.0794 -0.1204) |
| OKLCH | oklch(62.47% 0.144 303.4) |
| XYZ | xyz(30.1490, 22.6952, 61.1728) |
| Luminance | 0.2270 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.13
Deep Lilac
#966EBD
ΔE00 3.15
Amethyst
#9B5FC0
ΔE00 5.18
Deep Lavender
#8D5EB7
ΔE00 6.55
Wisteria
#A87DC2
ΔE00 6.62
Soft Purple
#A66FB5
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A6FCE #A3CE6F
analogous
#6F74CE #9A6FCE #CA6FCE
triadic
#9A6FCE #CE9A6F #6FCE9A
tetradic
#9A6FCE #CE6F74 #A3CE6F #6FCECA
square
#9A6FCE #CE6F74 #A3CE6F #6FCECA
split-complementary
#9A6FCE #CECA6F #74CE6F
monochromatic
#5D3191 #7A41BE #9A6FCE #BA9DDE #DACAED
Accessibility & contrast
On white
3.79
#9A6FCE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.54
#9A6FCE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A6FCE
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A6FCE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A6FCE | 1.00 | 3.79 | 5.54 | 5.54 |
| #FFFFFF | 3.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5582D1
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#917F95
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #9a6fce; /* rgb */ color: rgb(154, 111, 206); /* oklch */ color: oklch(62.5% 0.144 303.4);
Tailwind
colors: {
custom: {
50: '#ba99dd',
500: '#9a6fce',
950: '#000000',
},
}SCSS
$custom: #9a6fce; $custom-light: #ba99dd; $custom-dark: #000000;
JSON
{
"hex": "#9a6fce",
"rgb": {
"r": 154,
"g": 111,
"b": 206
},
"hsl": {
"h": 267.158,
"s": 49.223,
"l": 62.157
},
"oklch": {
"l": 0.62468,
"c": 0.14424,
"h": 303.4
},
"luminance": 0.22695
}Semantic roles & 50–950 ramp
primary
#9A6FCE
secondary
#CEDEBB
accent
#BD297A
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#120E15
muted
#817E83