#6836C0#6836C0
#6836C0 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.8% C 0.201 H 293.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #6836C0 |
|---|---|
| RGB | rgb(104, 54, 192) |
| HSL | hsl(262, 56%, 48%) |
| HSV | hsv(262, 72%, 75%) |
| CMYK | cmyk(45.8%, 71.9%, 0%, 24.7%) |
| CIE-LAB | lab(36.72, 51.91, -64.22) |
| CIE-LCH | lch(36.72, 82.58, 308.95°) |
| OKLab | oklab(47.75% 0.0817 -0.184) |
| OKLCH | oklch(47.75% 0.201 293.9) |
| XYZ | xyz(16.5399, 9.3867, 50.7993) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.96
Blurple
#5539CC
ΔE00 3.46
Blue With A Hint Of Purple
#533CC6
ΔE00 3.72
Purple Blue
#5D21D0
ΔE00 4.22
Burple
#6832E3
ΔE00 4.51
Purpley Blue
#5F34E7
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6836C0 #8EC036
analogous
#3649C0 #6836C0 #AD36C0
triadic
#6836C0 #C06836 #36C068
tetradic
#6836C0 #C03649 #8EC036 #36C0AD
square
#6836C0 #C03649 #8EC036 #36C0AD
split-complementary
#6836C0 #C0AD36 #49C036
monochromatic
#341B60 #4E2990 #6836C0 #8A61D2 #AD90E0
Accessibility & contrast
On white
7.30
#6836C0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#6836C0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6836C0
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6836C0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6836C0 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C4
Deuteranopia (green-blind)
#0054BD
Tritanopia (blue-blind)
#4E5A78
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #6836c0; /* rgb */ color: rgb(104, 54, 192); /* oklch */ color: oklch(47.8% 0.201 293.9);
Tailwind
colors: {
custom: {
50: '#9b71d4',
500: '#6836c0',
950: '#000000',
},
}SCSS
$custom: #6836c0; $custom-light: #9b71d4; $custom-dark: #000000;
JSON
{
"hex": "#6836c0",
"rgb": {
"r": 104,
"g": 54,
"b": 192
},
"hsl": {
"h": 261.739,
"s": 56.098,
"l": 48.235
},
"oklch": {
"l": 0.47754,
"c": 0.20132,
"h": 293.9
},
"luminance": 0.09387
}Semantic roles & 50–950 ramp
primary
#6836C0
secondary
#B2CB87
accent
#DF48A9
background
#FAF7FD
surface
#F3EDFA
border
#CDC8D3
text
#0F0814
muted
#7F7B83