#935FC2#935FC2
#935FC2 is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.4% C 0.154 H 306.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #935FC2 |
|---|---|
| RGB | rgb(147, 95, 194) |
| HSL | hsl(272, 45%, 57%) |
| HSV | hsv(272, 51%, 76%) |
| CMYK | cmyk(24.2%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(49.84, 40.21, -44.01) |
| CIE-LCH | lch(49.84, 59.61, 312.42°) |
| OKLab | oklab(58.43% 0.0913 -0.1234) |
| OKLCH | oklch(58.43% 0.154 306.5) |
| XYZ | xyz(25.8604, 18.2827, 53.1950) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 1.92
Deep Lavender
#8D5EB7
ΔE00 2.12
Deep Lilac
#966EBD
ΔE00 4.92
Lightish Purple
#A552E6
ΔE00 6.34
Mediumpurple
#9370DB
ΔE00 6.55
Purpley
#8756E4
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935FC2 #8EC25F
analogous
#625FC2 #935FC2 #C25FC0
triadic
#935FC2 #C2935F #5FC293
tetradic
#935FC2 #C2625F #8EC25F #5FC0C2
square
#935FC2 #C2625F #8EC25F #5FC0C2
split-complementary
#935FC2 #C0C25F #5FC262
monochromatic
#552E79 #743FA5 #935FC2 #B18BD3 #CFB8E4
Accessibility & contrast
On white
4.51
#935FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#935FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935FC2
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935FC2 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4275C5
Deuteranopia (green-blind)
#5177C0
Tritanopia (blue-blind)
#8C7088
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #935fc2; /* rgb */ color: rgb(147, 95, 194); /* oklch */ color: oklch(58.4% 0.154 306.5);
Tailwind
colors: {
custom: {
50: '#b58ed5',
500: '#935fc2',
950: '#000000',
},
}SCSS
$custom: #935fc2; $custom-light: #b58ed5; $custom-dark: #000000;
JSON
{
"hex": "#935fc2",
"rgb": {
"r": 147,
"g": 95,
"b": 194
},
"hsl": {
"h": 271.515,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.58427,
"c": 0.15353,
"h": 306.5
},
"luminance": 0.18283
}Semantic roles & 50–950 ramp
primary
#935FC2
secondary
#BDD3AA
accent
#D45391
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83