#935FCB#935FCB
#935FCB is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.164 H 304.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #935FCB |
|---|---|
| RGB | rgb(147, 95, 203) |
| HSL | hsl(269, 51%, 58%) |
| HSV | hsv(269, 53%, 80%) |
| CMYK | cmyk(27.6%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(50.33, 42.37, -48.39) |
| CIE-LCH | lch(50.33, 64.31, 311.20°) |
| OKLab | oklab(58.96% 0.092 -0.1362) |
| OKLCH | oklch(58.96% 0.164 304) |
| XYZ | xyz(26.9020, 18.6993, 58.6804) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.03
Deep Lavender
#8D5EB7
ΔE00 3.54
Lightish Purple
#A552E6
ΔE00 5.22
Purpley
#8756E4
ΔE00 5.42
Mediumpurple
#9370DB
ΔE00 5.61
Deep Lilac
#966EBD
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935FCB #97CB5F
analogous
#5F61CB #935FCB #C95FCB
triadic
#935FCB #CB935F #5FCB93
tetradic
#935FCB #CB5F61 #97CB5F #5FCBC9
square
#935FCB #CB5F61 #97CB5F #5FCBC9
split-complementary
#935FCB #CBC95F #61CB5F
monochromatic
#562B85 #743AB3 #935FCB #B28DDA #D1BBE9
Accessibility & contrast
On white
4.43
#935FCB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#935FCB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935FCB
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935FCB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935FCB | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#4B78C8
Tritanopia (blue-blind)
#89738C
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #935fcb; /* rgb */ color: rgb(147, 95, 203); /* oklch */ color: oklch(59.0% 0.164 304.0);
Tailwind
colors: {
custom: {
50: '#b68edb',
500: '#935fcb',
950: '#000000',
},
}SCSS
$custom: #935fcb; $custom-light: #b68edb; $custom-dark: #000000;
JSON
{
"hex": "#935fcb",
"rgb": {
"r": 147,
"g": 95,
"b": 203
},
"hsl": {
"h": 268.889,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.58956,
"c": 0.16438,
"h": 304
},
"luminance": 0.18699
}Semantic roles & 50–950 ramp
primary
#935FCB
secondary
#C4D8AD
accent
#DA4D97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83