#9D6CF5#9D6CF5
#9D6CF5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.6% C 0.198 H 297.0°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #9D6CF5 |
|---|---|
| RGB | rgb(157, 108, 245) |
| HSL | hsl(261, 87%, 69%) |
| HSV | hsv(261, 56%, 96%) |
| CMYK | cmyk(35.9%, 55.9%, 0%, 3.9%) |
| CIE-LAB | lab(56.57, 48.10, -62.03) |
| CIE-LCH | lch(56.57, 78.49, 307.79°) |
| OKLab | oklab(64.58% 0.0897 -0.1759) |
| OKLCH | oklch(64.58% 0.198 297) |
| XYZ | xyz(35.7445, 24.4853, 89.2114) |
| Luminance | 0.2449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.14
Light Urple
#B36FF6
ΔE00 4.16
Lighter Purple
#A55AF4
ΔE00 4.35
Mediumslateblue
#7B68EE
ΔE00 6.24
Easter Purple
#C071FE
ΔE00 6.40
Lightish Purple
#A552E6
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D6CF5 #C4F56C
analogous
#6C80F5 #9D6CF5 #E26CF5
triadic
#9D6CF5 #F59D6C #6CF59D
tetradic
#9D6CF5 #F56C80 #C4F56C #6CF5E2
square
#9D6CF5 #F56C80 #C4F56C #6CF5E2
split-complementary
#9D6CF5 #F5E26C #80F56C
monochromatic
#570FD8 #7733F1 #9D6CF5 #C3A5F9 #E9DFFD
Accessibility & contrast
On white
3.56
#9D6CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#9D6CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D6CF5
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D6CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D6CF5 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2988FA
Deuteranopia (green-blind)
#3C86F2
Tritanopia (blue-blind)
#8988A6
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #9d6cf5; /* rgb */ color: rgb(157, 108, 245); /* oklch */ color: oklch(64.6% 0.198 297.0);
Tailwind
colors: {
custom: {
50: '#be98f9',
500: '#9d6cf5',
950: '#000000',
},
}SCSS
$custom: #9d6cf5; $custom-light: #be98f9; $custom-dark: #000000;
JSON
{
"hex": "#9d6cf5",
"rgb": {
"r": 157,
"g": 108,
"b": 245
},
"hsl": {
"h": 261.46,
"s": 87.261,
"l": 69.216
},
"oklch": {
"l": 0.64583,
"c": 0.1975,
"h": 297
},
"luminance": 0.24486
}Semantic roles & 50–950 ramp
primary
#9D6CF5
secondary
#E4F2CA
accent
#E40293
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85