#9658C7#9658C7
#9658C7 is a mid, vivid violet. Relative luminance 0.176; OKLCH L 58.0% C 0.171 H 307.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #9658C7 |
|---|---|
| RGB | rgb(150, 88, 199) |
| HSL | hsl(274, 50%, 56%) |
| HSV | hsv(274, 56%, 78%) |
| CMYK | cmyk(24.6%, 55.8%, 0%, 22%) |
| CIE-LAB | lab(48.99, 45.99, -48.21) |
| CIE-LCH | lch(48.99, 66.63, 313.65°) |
| OKLab | oklab(57.97% 0.1048 -0.1356) |
| OKLCH | oklch(57.97% 0.171 307.7) |
| XYZ | xyz(26.3741, 17.5873, 56.0270) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.83
Deep Lavender
#8D5EB7
ΔE00 3.42
Lightish Purple
#A552E6
ΔE00 5.01
Purpley
#8756E4
ΔE00 5.88
Purply
#983FB2
ΔE00 6.85
Deep Lilac
#966EBD
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9658C7 #89C758
analogous
#5F58C7 #9658C7 #C758C1
triadic
#9658C7 #C79658 #58C796
tetradic
#9658C7 #C75F58 #89C758 #58C1C7
square
#9658C7 #C75F58 #89C758 #58C1C7
split-complementary
#9658C7 #C1C758 #58C75F
monochromatic
#57297B #7739A9 #9658C7 #B386D6 #D0B4E6
Accessibility & contrast
On white
4.65
#9658C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#9658C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #9658C7
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9658C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##9658C7 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3272CB
Deuteranopia (green-blind)
#4975C4
Tritanopia (blue-blind)
#8F6C87
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #9658c7; /* rgb */ color: rgb(150, 88, 199); /* oklch */ color: oklch(58.0% 0.171 307.7);
Tailwind
colors: {
custom: {
50: '#b889d8',
500: '#9658c7',
950: '#000000',
},
}SCSS
$custom: #9658c7; $custom-light: #b889d8; $custom-dark: #000000;
JSON
{
"hex": "#9658c7",
"rgb": {
"r": 150,
"g": 88,
"b": 199
},
"hsl": {
"h": 273.514,
"s": 49.776,
"l": 56.275
},
"oklch": {
"l": 0.5797,
"c": 0.17137,
"h": 307.7
},
"luminance": 0.17587
}Semantic roles & 50–950 ramp
primary
#9658C7
secondary
#BBD4A7
accent
#D94F8C
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#120C14
muted
#817D83