#935FC7#935FC7
#935FC7 is a mid, vivid violet. Relative luminance 0.185; OKLCH L 58.7% C 0.160 H 305.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #935FC7 |
|---|---|
| RGB | rgb(147, 95, 199) |
| HSL | hsl(270, 48%, 58%) |
| HSV | hsv(270, 52%, 78%) |
| CMYK | cmyk(26.1%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(50.11, 41.40, -46.45) |
| CIE-LCH | lch(50.11, 62.22, 311.71°) |
| OKLab | oklab(58.72% 0.0917 -0.1305) |
| OKLCH | oklch(58.72% 0.16 305.1) |
| XYZ | xyz(26.4314, 18.5111, 56.2023) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.48
Deep Lavender
#8D5EB7
ΔE00 2.89
Deep Lilac
#966EBD
ΔE00 5.27
Lightish Purple
#A552E6
ΔE00 5.68
Mediumpurple
#9370DB
ΔE00 5.99
Purpley
#8756E4
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935FC7 #93C75F
analogous
#5F5FC7 #935FC7 #C75FC7
triadic
#935FC7 #C7935F #5FC793
tetradic
#935FC7 #C75F5F #93C75F #5FC7C7
square
#935FC7 #C75F5F #93C75F #5FC7C7
split-complementary
#935FC7 #C7C75F #5FC75F
monochromatic
#562C7F #743CAC #935FC7 #B28CD7 #D0BAE7
Accessibility & contrast
On white
4.47
#935FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#935FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935FC7
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935FC7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935FC7 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#4E77C4
Tritanopia (blue-blind)
#8A728A
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #935fc7; /* rgb */ color: rgb(147, 95, 199); /* oklch */ color: oklch(58.7% 0.160 305.1);
Tailwind
colors: {
custom: {
50: '#b58ed8',
500: '#935fc7',
950: '#000000',
},
}SCSS
$custom: #935fc7; $custom-light: #b58ed8; $custom-dark: #000000;
JSON
{
"hex": "#935fc7",
"rgb": {
"r": 147,
"g": 95,
"b": 199
},
"hsl": {
"h": 270,
"s": 48.148,
"l": 57.647
},
"oklch": {
"l": 0.58718,
"c": 0.15955,
"h": 305.1
},
"luminance": 0.18511
}Semantic roles & 50–950 ramp
primary
#935FC7
secondary
#C1D6AC
accent
#D85094
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C14
muted
#807D83