#9D6CF2#9D6CF2
#9D6CF2 is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.4% C 0.194 H 297.6°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #9D6CF2 |
|---|---|
| RGB | rgb(157, 108, 242) |
| HSL | hsl(262, 84%, 69%) |
| HSV | hsv(262, 55%, 95%) |
| CMYK | cmyk(35.1%, 55.4%, 0%, 5.1%) |
| CIE-LAB | lab(56.39, 47.34, -60.65) |
| CIE-LCH | lch(56.39, 76.94, 307.98°) |
| OKLab | oklab(64.39% 0.0897 -0.1719) |
| OKLCH | oklch(64.39% 0.194 297.6) |
| XYZ | xyz(35.2902, 24.3035, 86.8190) |
| Luminance | 0.2430 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.79
Light Urple
#B36FF6
ΔE00 4.12
Lighter Purple
#A55AF4
ΔE00 4.30
Mediumslateblue
#7B68EE
ΔE00 6.27
Easter Purple
#C071FE
ΔE00 6.42
Lightish Purple
#A552E6
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D6CF2 #C1F26C
analogous
#6C7EF2 #9D6CF2 #E06CF2
triadic
#9D6CF2 #F29D6C #6CF29D
tetradic
#9D6CF2 #F26C7E #C1F26C #6CF2E0
square
#9D6CF2 #F26C7E #C1F26C #6CF2E0
split-complementary
#9D6CF2 #F2E06C #7EF26C
monochromatic
#5812D1 #7834ED #9D6CF2 #C2A4F7 #E8DCFC
Accessibility & contrast
On white
3.58
#9D6CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#9D6CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #9D6CF2
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D6CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D6CF2 | 1.00 | 3.58 | 5.86 | 5.86 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E88F6
Deuteranopia (green-blind)
#4086EF
Tritanopia (blue-blind)
#8A87A5
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #9d6cf2; /* rgb */ color: rgb(157, 108, 242); /* oklch */ color: oklch(64.4% 0.194 297.6);
Tailwind
colors: {
custom: {
50: '#be98f7',
500: '#9d6cf2',
950: '#000000',
},
}SCSS
$custom: #9d6cf2; $custom-light: #be98f7; $custom-dark: #000000;
JSON
{
"hex": "#9d6cf2",
"rgb": {
"r": 157,
"g": 108,
"b": 242
},
"hsl": {
"h": 261.94,
"s": 83.75,
"l": 68.627
},
"oklch": {
"l": 0.64393,
"c": 0.19389,
"h": 297.6
},
"luminance": 0.24304
}Semantic roles & 50–950 ramp
primary
#9D6CF2
secondary
#E2F1C9
accent
#E00590
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85