#9A5CCF#9A5CCF
#9A5CCF is a mid, vivid violet. Relative luminance 0.190; OKLCH L 59.5% C 0.176 H 306.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #9A5CCF |
|---|---|
| RGB | rgb(154, 92, 207) |
| HSL | hsl(272, 55%, 59%) |
| HSV | hsv(272, 56%, 81%) |
| CMYK | cmyk(25.6%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(50.72, 46.73, -50.01) |
| CIE-LCH | lch(50.72, 68.45, 313.06°) |
| OKLab | oklab(59.49% 0.105 -0.1408) |
| OKLCH | oklch(59.49% 0.176 306.7) |
| XYZ | xyz(28.4137, 19.0296, 61.1956) |
| Luminance | 0.1903 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.91
Lightish Purple
#A552E6
ΔE00 3.95
Deep Lavender
#8D5EB7
ΔE00 4.45
Lighter Purple
#A55AF4
ΔE00 5.51
Purpley
#8756E4
ΔE00 5.62
Mediumorchid
#BA55D3
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9A5CCF #91CF5C
analogous
#605CCF #9A5CCF #CF5CCA
triadic
#9A5CCF #CF9A5C #5CCF9A
tetradic
#9A5CCF #CF605C #91CF5C #5CCACF
square
#9A5CCF #CF605C #91CF5C #5CCACF
split-complementary
#9A5CCF #CACF5C #5CCF60
monochromatic
#5C2888 #7C36B8 #9A5CCF #B78BDD #D5BBEB
Accessibility & contrast
On white
4.37
#9A5CCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#9A5CCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9A5CCF
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9A5CCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9A5CCF | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3477D3
Deuteranopia (green-blind)
#4A79CC
Tritanopia (blue-blind)
#92718D
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #9a5ccf; /* rgb */ color: rgb(154, 92, 207); /* oklch */ color: oklch(59.5% 0.176 306.7);
Tailwind
colors: {
custom: {
50: '#bb8cde',
500: '#9a5ccf',
950: '#000000',
},
}SCSS
$custom: #9a5ccf; $custom-light: #bb8cde; $custom-dark: #000000;
JSON
{
"hex": "#9a5ccf",
"rgb": {
"r": 154,
"g": 92,
"b": 207
},
"hsl": {
"h": 272.348,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.59491,
"c": 0.1756,
"h": 306.7
},
"luminance": 0.19029
}Semantic roles & 50–950 ramp
primary
#9A5CCF
secondary
#C2DAAD
accent
#DE4A8E
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83