#935EF2#935EF2
#935EF2 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.3% C 0.212 H 296.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #935EF2 |
|---|---|
| RGB | rgb(147, 94, 242) |
| HSL | hsl(261, 85%, 66%) |
| HSV | hsv(261, 61%, 95%) |
| CMYK | cmyk(39.3%, 61.2%, 0%, 5.1%) |
| CIE-LAB | lab(52.53, 52.66, -66.92) |
| CIE-LCH | lch(52.53, 85.15, 308.20°) |
| OKLab | oklab(61.33% 0.0931 -0.1906) |
| OKLCH | oklch(61.33% 0.212 296) |
| XYZ | xyz(32.0582, 20.6186, 86.2779) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 3.17
Purpley
#8756E4
ΔE00 3.79
Lightish Purple
#A552E6
ΔE00 4.58
Mediumslateblue
#7B68EE
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 5.75
Light Urple
#B36FF6
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#935EF2 #BDF25E
analogous
#5E73F2 #935EF2 #DD5EF2
triadic
#935EF2 #F2935E #5EF293
tetradic
#935EF2 #F25E73 #BDF25E #5EF2DD
square
#935EF2 #F25E73 #BDF25E #5EF2DD
split-complementary
#935EF2 #F2DD5E #73F25E
monochromatic
#5110C6 #6D25ED #935EF2 #B997F7 #DFCFFB
Accessibility & contrast
On white
4.10
#935EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#935EF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #935EF2
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##935EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##935EF2 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#047BEF
Tritanopia (blue-blind)
#7B7F9F
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #935ef2; /* rgb */ color: rgb(147, 94, 242); /* oklch */ color: oklch(61.3% 0.212 296.0);
Tailwind
colors: {
custom: {
50: '#b98ef7',
500: '#935ef2',
950: '#000000',
},
}SCSS
$custom: #935ef2; $custom-light: #b98ef7; $custom-dark: #000000;
JSON
{
"hex": "#935ef2",
"rgb": {
"r": 147,
"g": 94,
"b": 242
},
"hsl": {
"h": 261.486,
"s": 85.057,
"l": 65.882
},
"oklch": {
"l": 0.61334,
"c": 0.21214,
"h": 296
},
"luminance": 0.20619
}Semantic roles & 50–950 ramp
primary
#935EF2
secondary
#DDEEBD
accent
#E20492
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85