#935CD9#935CD9
#935CD9 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.4% C 0.186 H 301.2°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #935CD9 |
|---|---|
| RGB | rgb(147, 92, 217) |
| HSL | hsl(266, 62%, 61%) |
| HSV | hsv(266, 58%, 85%) |
| CMYK | cmyk(32.3%, 57.6%, 0%, 14.9%) |
| CIE-LAB | lab(50.53, 47.42, -56.06) |
| CIE-LCH | lch(50.53, 73.43, 310.23°) |
| OKLab | oklab(59.37% 0.0962 -0.1587) |
| OKLCH | oklch(59.37% 0.186 301.2) |
| XYZ | xyz(28.3812, 18.8670, 67.7787) |
| Luminance | 0.1887 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.40
Lightish Purple
#A552E6
ΔE00 3.76
Lighter Purple
#A55AF4
ΔE00 4.64
Amethyst
#9B5FC0
ΔE00 5.14
Mediumpurple
#9370DB
ΔE00 5.63
Deep Lavender
#8D5EB7
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935CD9 #A2D95C
analogous
#5C63D9 #935CD9 #D15CD9
triadic
#935CD9 #D9935C #5CD993
tetradic
#935CD9 #D95C63 #A2D95C #5CD9D1
square
#935CD9 #D95C63 #A2D95C #5CD9D1
split-complementary
#935CD9 #D9D15C #63D95C
monochromatic
#562397 #732FC9 #935CD9 #B48EE5 #D5BFF0
Accessibility & contrast
On white
4.40
#935CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.77
#935CD9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935CD9
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935CD9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935CD9 | 1.00 | 4.40 | 4.77 | 4.77 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2178DD
Deuteranopia (green-blind)
#3978D6
Tritanopia (blue-blind)
#857592
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #935cd9; /* rgb */ color: rgb(147, 92, 217); /* oklch */ color: oklch(59.4% 0.186 301.2);
Tailwind
colors: {
custom: {
50: '#b78ce5',
500: '#935cd9',
950: '#000000',
},
}SCSS
$custom: #935cd9; $custom-light: #b78ce5; $custom-dark: #000000;
JSON
{
"hex": "#935cd9",
"rgb": {
"r": 147,
"g": 92,
"b": 217
},
"hsl": {
"h": 266.4,
"s": 62.189,
"l": 60.588
},
"oklch": {
"l": 0.59366,
"c": 0.18559,
"h": 301.2
},
"luminance": 0.18867
}Semantic roles & 50–950 ramp
primary
#935CD9
secondary
#CBE0B1
accent
#CA1C7D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84