#935FC4#935FC4
#935FC4 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.5% C 0.156 H 305.9°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #935FC4 |
|---|---|
| RGB | rgb(147, 95, 196) |
| HSL | hsl(271, 46%, 57%) |
| HSV | hsv(271, 52%, 77%) |
| CMYK | cmyk(25%, 51.5%, 0%, 23.1%) |
| CIE-LAB | lab(49.95, 40.69, -44.99) |
| CIE-LCH | lch(49.95, 60.66, 312.13°) |
| OKLab | oklab(58.54% 0.0915 -0.1263) |
| OKLCH | oklch(58.54% 0.156 305.9) |
| XYZ | xyz(26.0866, 18.3732, 54.3860) |
| Luminance | 0.1837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.12
Deep Lavender
#8D5EB7
ΔE00 2.42
Deep Lilac
#966EBD
ΔE00 5.04
Lightish Purple
#A552E6
ΔE00 6.07
Mediumpurple
#9370DB
ΔE00 6.32
Purpley
#8756E4
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935FC4 #90C45F
analogous
#615FC4 #935FC4 #C45FC3
triadic
#935FC4 #C4935F #5FC493
tetradic
#935FC4 #C4615F #90C45F #5FC3C4
square
#935FC4 #C4615F #90C45F #5FC3C4
split-complementary
#935FC4 #C3C45F #5FC461
monochromatic
#552D7B #743EA8 #935FC4 #B18CD4 #CFB8E5
Accessibility & contrast
On white
4.49
#935FC4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.67
#935FC4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935FC4
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935FC4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935FC4 | 1.00 | 4.49 | 4.67 | 4.67 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4075C7
Deuteranopia (green-blind)
#5077C1
Tritanopia (blue-blind)
#8B7189
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #935fc4; /* rgb */ color: rgb(147, 95, 196); /* oklch */ color: oklch(58.5% 0.156 305.9);
Tailwind
colors: {
custom: {
50: '#b58ed6',
500: '#935fc4',
950: '#000000',
},
}SCSS
$custom: #935fc4; $custom-light: #b58ed6; $custom-dark: #000000;
JSON
{
"hex": "#935fc4",
"rgb": {
"r": 147,
"g": 95,
"b": 196
},
"hsl": {
"h": 270.891,
"s": 46.119,
"l": 57.059
},
"oklch": {
"l": 0.58543,
"c": 0.15594,
"h": 305.9
},
"luminance": 0.18373
}Semantic roles & 50–950 ramp
primary
#935FC4
secondary
#BFD4AB
accent
#D65292
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83