#835CFC#835CFC
#835CFC is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.3% C 0.226 H 289.0°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #835CFC |
|---|---|
| RGB | rgb(131, 92, 252) |
| HSL | hsl(255, 96%, 67%) |
| HSV | hsv(255, 63%, 99%) |
| CMYK | cmyk(48%, 63.5%, 0%, 1.2%) |
| CIE-LAB | lab(51.27, 53.28, -74.60) |
| CIE-LCH | lch(51.27, 91.67, 305.54°) |
| OKLab | oklab(60.28% 0.0735 -0.2137) |
| OKLCH | oklch(60.28% 0.226 289) |
| XYZ | xyz(30.7528, 19.5066, 94.2213) |
| Luminance | 0.1951 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.72
Purpley
#8756E4
ΔE00 3.91
Lighter Purple
#A55AF4
ΔE00 5.98
Lightish Purple
#A552E6
ΔE00 7.13
Light Indigo
#6D5ACF
ΔE00 7.33
Mediumpurple
#9370DB
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#835CFC #D5FC5C
analogous
#5C85FC #835CFC #D35CFC
triadic
#835CFC #FC835C #5CFC83
tetradic
#835CFC #FC5C85 #D5FC5C #5CFCD3
square
#835CFC #FC5C85 #D5FC5C #5CFCD3
split-complementary
#835CFC #FCD35C #85FC5C
monochromatic
#3804DA #5520FB #835CFC #B198FD #DED4FE
Accessibility & contrast
On white
4.28
#835CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#835CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #835CFC
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##835CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##835CFC | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0076F9
Tritanopia (blue-blind)
#5A83A4
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #835cfc; /* rgb */ color: rgb(131, 92, 252); /* oklch */ color: oklch(60.3% 0.226 289.0);
Tailwind
colors: {
custom: {
50: '#b08cfe',
500: '#835cfc',
950: '#000000',
},
}SCSS
$custom: #835cfc; $custom-light: #b08cfe; $custom-dark: #000000;
JSON
{
"hex": "#835cfc",
"rgb": {
"r": 131,
"g": 92,
"b": 252
},
"hsl": {
"h": 254.625,
"s": 96.386,
"l": 67.451
},
"oklch": {
"l": 0.60278,
"c": 0.22598,
"h": 289
},
"luminance": 0.19508
}Semantic roles & 50–950 ramp
primary
#835CFC
secondary
#E7F3C1
accent
#E600AE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86