#935CD2#935CD2
#935CD2 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.9% C 0.177 H 302.8°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #935CD2 |
|---|---|
| RGB | rgb(147, 92, 210) |
| HSL | hsl(268, 57%, 59%) |
| HSV | hsv(268, 56%, 82%) |
| CMYK | cmyk(30%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(50.11, 45.71, -52.75) |
| CIE-LCH | lch(50.11, 69.80, 310.91°) |
| OKLab | oklab(58.92% 0.0962 -0.149) |
| OKLCH | oklch(58.92% 0.177 302.8) |
| XYZ | xyz(27.4900, 18.5105, 63.0849) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.15
Amethyst
#9B5FC0
ΔE00 4.15
Lightish Purple
#A552E6
ΔE00 4.22
Deep Lavender
#8D5EB7
ΔE00 4.68
Lighter Purple
#A55AF4
ΔE00 5.48
Mediumpurple
#9370DB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935CD2 #9BD25C
analogous
#5C60D2 #935CD2 #CE5CD2
triadic
#935CD2 #D2935C #5CD293
tetradic
#935CD2 #D25C60 #9BD25C #5CD2CE
square
#935CD2 #D25C60 #9BD25C #5CD2CE
split-complementary
#935CD2 #D2CE5C #60D25C
monochromatic
#56278D #7434BD #935CD2 #B38CDF #D3BCEC
Accessibility & contrast
On white
4.47
#935CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#935CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935CD2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935CD2 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C76D6
Deuteranopia (green-blind)
#4177CF
Tritanopia (blue-blind)
#87738E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #935cd2; /* rgb */ color: rgb(147, 92, 210); /* oklch */ color: oklch(58.9% 0.177 302.8);
Tailwind
colors: {
custom: {
50: '#b68ce0',
500: '#935cd2',
950: '#000000',
},
}SCSS
$custom: #935cd2; $custom-light: #b68ce0; $custom-dark: #000000;
JSON
{
"hex": "#935cd2",
"rgb": {
"r": 147,
"g": 92,
"b": 210
},
"hsl": {
"h": 267.966,
"s": 56.731,
"l": 59.216
},
"oklch": {
"l": 0.58921,
"c": 0.17733,
"h": 302.8
},
"luminance": 0.1851
}Semantic roles & 50–950 ramp
primary
#935CD2
secondary
#C6DCAE
accent
#E04899
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83