#936DCD#936DCD
#936DCD is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.4% C 0.145 H 300.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #936DCD |
|---|---|
| RGB | rgb(147, 109, 205) |
| HSL | hsl(264, 49%, 62%) |
| HSV | hsv(264, 47%, 80%) |
| CMYK | cmyk(28.3%, 46.8%, 0%, 19.6%) |
| CIE-LAB | lab(53.54, 34.97, -44.43) |
| CIE-LCH | lch(53.54, 56.54, 308.21°) |
| OKLab | oklab(61.38% 0.0734 -0.1247) |
| OKLCH | oklch(61.38% 0.145 300.5) |
| XYZ | xyz(28.5182, 21.5480, 60.4025) |
| Luminance | 0.2155 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 2.57
Deep Lilac
#966EBD
ΔE00 3.51
Amethyst
#9B5FC0
ΔE00 5.17
Deep Lavender
#8D5EB7
ΔE00 5.84
Lighter Purple
#A55AF4
ΔE00 7.54
Mediumslateblue
#7B68EE
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#936DCD #A7CD6D
analogous
#6D77CD #936DCD #C36DCD
triadic
#936DCD #CD936D #6DCD93
tetradic
#936DCD #CD6D77 #A7CD6D #6DCDC3
square
#936DCD #CD6D77 #A7CD6D #6DCDC3
split-complementary
#936DCD #CDC36D #77CD6D
monochromatic
#56318F #7240BC #936DCD #B59BDD #D6C8EC
Accessibility & contrast
On white
3.96
#936DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.31
#936DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #936DCD
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##936DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##936DCD | 1.00 | 3.96 | 5.31 | 5.31 |
| #FFFFFF | 3.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5080D0
Deuteranopia (green-blind)
#597FCB
Tritanopia (blue-blind)
#887E93
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #936dcd; /* rgb */ color: rgb(147, 109, 205); /* oklch */ color: oklch(61.4% 0.145 300.5);
Tailwind
colors: {
custom: {
50: '#b597dd',
500: '#936dcd',
950: '#000000',
},
}SCSS
$custom: #936dcd; $custom-light: #b597dd; $custom-dark: #000000;
JSON
{
"hex": "#936dcd",
"rgb": {
"r": 147,
"g": 109,
"b": 205
},
"hsl": {
"h": 263.75,
"s": 48.98,
"l": 61.569
},
"oklch": {
"l": 0.61379,
"c": 0.14467,
"h": 300.5
},
"luminance": 0.21548
}Semantic roles & 50–950 ramp
primary
#936DCD
secondary
#CFDDB9
accent
#BC2982
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110D15
muted
#807E83