#835EF3#835EF3
#835EF3 is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.213 H 289.9°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #835EF3 |
|---|---|
| RGB | rgb(131, 94, 243) |
| HSL | hsl(255, 86%, 66%) |
| HSV | hsv(255, 61%, 95%) |
| CMYK | cmyk(46.1%, 61.3%, 0%, 4.7%) |
| CIE-LAB | lab(51.04, 49.71, -69.97) |
| CIE-LCH | lch(51.04, 85.83, 305.39°) |
| OKLab | oklab(59.9% 0.0723 -0.2001) |
| OKLCH | oklch(59.9% 0.213 289.9) |
| XYZ | xyz(29.5358, 19.3006, 86.9458) |
| Luminance | 0.1930 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.12
Purpley
#8756E4
ΔE00 3.26
Lighter Purple
#A55AF4
ΔE00 5.92
Light Indigo
#6D5ACF
ΔE00 6.50
Mediumpurple
#9370DB
ΔE00 6.85
Lightish Purple
#A552E6
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835EF3 #CEF35E
analogous
#5E83F3 #835EF3 #CD5EF3
triadic
#835EF3 #F3835E #5EF383
tetradic
#835EF3 #F35E83 #CEF35E #5EF3CD
square
#835EF3 #F35E83 #CEF35E #5EF3CD
split-complementary
#835EF3 #F3CD5E #83F35E
monochromatic
#3D0FC8 #5725EF #835EF3 #AF97F7 #DBD0FB
Accessibility & contrast
On white
4.32
#835EF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#835EF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #835EF3
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835EF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##835EF3 | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0076F0
Tritanopia (blue-blind)
#6081A0
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #835ef3; /* rgb */ color: rgb(131, 94, 243); /* oklch */ color: oklch(59.9% 0.213 289.9);
Tailwind
colors: {
custom: {
50: '#af8df8',
500: '#835ef3',
950: '#000000',
},
}SCSS
$custom: #835ef3; $custom-light: #af8df8; $custom-dark: #000000;
JSON
{
"hex": "#835ef3",
"rgb": {
"r": 131,
"g": 94,
"b": 243
},
"hsl": {
"h": 254.899,
"s": 86.127,
"l": 66.078
},
"oklch": {
"l": 0.59903,
"c": 0.21274,
"h": 289.9
},
"luminance": 0.19302
}Semantic roles & 50–950 ramp
primary
#835EF3
secondary
#E3EFBE
accent
#E303AB
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85