#835CF2#835CF2
#835CF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.5% C 0.214 H 290.3°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #835CF2 |
|---|---|
| RGB | rgb(131, 92, 242) |
| HSL | hsl(256, 85%, 65%) |
| HSV | hsv(256, 62%, 95%) |
| CMYK | cmyk(45.9%, 62%, 0%, 5.1%) |
| CIE-LAB | lab(50.56, 50.53, -70.19) |
| CIE-LCH | lch(50.56, 86.48, 305.75°) |
| OKLab | oklab(59.53% 0.0744 -0.2007) |
| OKLCH | oklch(59.53% 0.214 290.3) |
| XYZ | xyz(29.2097, 18.8893, 86.0941) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.78
Mediumslateblue
#7B68EE
ΔE00 3.58
Lighter Purple
#A55AF4
ΔE00 5.92
Light Indigo
#6D5ACF
ΔE00 6.25
Lightish Purple
#A552E6
ΔE00 6.66
Slate Blue
#6A5ACD
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835CF2 #CBF25C
analogous
#5C80F2 #835CF2 #CE5CF2
triadic
#835CF2 #F2835C #5CF283
tetradic
#835CF2 #F25C80 #CBF25C #5CF2CE
square
#835CF2 #F25C80 #CBF25C #5CF2CE
split-complementary
#835CF2 #F2CE5C #80F25C
monochromatic
#3F10C4 #5823ED #835CF2 #AE95F7 #D9CDFB
Accessibility & contrast
On white
4.40
#835CF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#835CF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #835CF2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##835CF2 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#607F9F
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #835cf2; /* rgb */ color: rgb(131, 92, 242); /* oklch */ color: oklch(59.5% 0.214 290.3);
Tailwind
colors: {
custom: {
50: '#af8cf7',
500: '#835cf2',
950: '#000000',
},
}SCSS
$custom: #835cf2; $custom-light: #af8cf7; $custom-dark: #000000;
JSON
{
"hex": "#835cf2",
"rgb": {
"r": 131,
"g": 92,
"b": 242
},
"hsl": {
"h": 255.6,
"s": 85.227,
"l": 65.49
},
"oklch": {
"l": 0.59532,
"c": 0.21408,
"h": 290.3
},
"luminance": 0.1889
}Semantic roles & 50–950 ramp
primary
#835CF2
secondary
#E1EEBC
accent
#E204A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85