#7836C2#7836C2
#7836C2 is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.7% C 0.205 H 300.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7836C2 |
|---|---|
| RGB | rgb(120, 54, 194) |
| HSL | hsl(268, 56%, 49%) |
| HSV | hsv(268, 72%, 76%) |
| CMYK | cmyk(38.1%, 72.2%, 0%, 23.9%) |
| CIE-LAB | lab(38.77, 55.24, -61.97) |
| CIE-LCH | lch(38.77, 83.02, 311.72°) |
| OKLab | oklab(49.68% 0.1042 -0.1768) |
| OKLCH | oklch(49.68% 0.205 300.5) |
| XYZ | xyz(18.8001, 10.5263, 52.0698) |
| Luminance | 0.1053 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 4.51
Blueviolet
#8A2BE2
ΔE00 4.83
Burple
#6832E3
ΔE00 5.10
Bluish Purple
#703BE7
ΔE00 5.46
Darkviolet
#9400D3
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7836C2 #80C236
analogous
#363AC2 #7836C2 #BE36C2
triadic
#7836C2 #C27836 #36C278
tetradic
#7836C2 #C2363A #80C236 #36C2BE
square
#7836C2 #C2363A #80C236 #36C2BE
split-complementary
#7836C2 #C2BE36 #3AC236
monochromatic
#3D1B62 #5A2992 #7836C2 #9762D3 #B792E1
Accessibility & contrast
On white
6.76
#7836C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#7836C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7836C2
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7836C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7836C2 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BC6
Deuteranopia (green-blind)
#005ABF
Tritanopia (blue-blind)
#675979
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7836c2; /* rgb */ color: rgb(120, 54, 194); /* oklch */ color: oklch(49.7% 0.205 300.5);
Tailwind
colors: {
custom: {
50: '#a573d5',
500: '#7836c2',
950: '#000000',
},
}SCSS
$custom: #7836c2; $custom-light: #a573d5; $custom-dark: #000000;
JSON
{
"hex": "#7836c2",
"rgb": {
"r": 120,
"g": 54,
"b": 194
},
"hsl": {
"h": 268.286,
"s": 56.452,
"l": 48.627
},
"oklch": {
"l": 0.49682,
"c": 0.20522,
"h": 300.5
},
"luminance": 0.10526
}Semantic roles & 50–950 ramp
primary
#7836C2
secondary
#ACCC88
accent
#E04898
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83