#935FC8#935FC8
#935FC8 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 58.8% C 0.161 H 304.8°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #935FC8 |
|---|---|
| RGB | rgb(147, 95, 200) |
| HSL | hsl(270, 49%, 58%) |
| HSV | hsv(270, 53%, 78%) |
| CMYK | cmyk(26.5%, 52.5%, 0%, 21.6%) |
| CIE-LAB | lab(50.17, 41.64, -46.94) |
| CIE-LCH | lch(50.17, 62.75, 311.58°) |
| OKLab | oklab(58.78% 0.0918 -0.132) |
| OKLCH | oklch(58.78% 0.161 304.8) |
| XYZ | xyz(26.5479, 18.5577, 56.8158) |
| Luminance | 0.1856 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.62
Deep Lavender
#8D5EB7
ΔE00 3.05
Deep Lilac
#966EBD
ΔE00 5.35
Lightish Purple
#A552E6
ΔE00 5.56
Purpley
#8756E4
ΔE00 5.85
Mediumpurple
#9370DB
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935FC8 #94C85F
analogous
#5F60C8 #935FC8 #C75FC8
triadic
#935FC8 #C8935F #5FC893
tetradic
#935FC8 #C85F60 #94C85F #5FC8C7
square
#935FC8 #C85F60 #94C85F #5FC8C7
split-complementary
#935FC8 #C8C75F #60C85F
monochromatic
#562C80 #743CAE #935FC8 #B28DD8 #D0BAE7
Accessibility & contrast
On white
4.46
#935FC8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#935FC8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935FC8
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935FC8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935FC8 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D76CC
Deuteranopia (green-blind)
#4D77C5
Tritanopia (blue-blind)
#8A728A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #935fc8; /* rgb */ color: rgb(147, 95, 200); /* oklch */ color: oklch(58.8% 0.161 304.8);
Tailwind
colors: {
custom: {
50: '#b58ed9',
500: '#935fc8',
950: '#000000',
},
}SCSS
$custom: #935fc8; $custom-light: #b58ed9; $custom-dark: #000000;
JSON
{
"hex": "#935fc8",
"rgb": {
"r": 147,
"g": 95,
"b": 200
},
"hsl": {
"h": 269.714,
"s": 48.837,
"l": 57.843
},
"oklch": {
"l": 0.58777,
"c": 0.16076,
"h": 304.8
},
"luminance": 0.18558
}Semantic roles & 50–950 ramp
primary
#935FC8
secondary
#C2D6AC
accent
#D84F95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83