#6C2EBE#6C2EBE
#6C2EBE is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.208 H 297.2°. Best body text is #FFFFFF at 7.58:1 contrast (WCAG AA passes).
Color values
| HEX | #6C2EBE |
|---|---|
| RGB | rgb(108, 46, 190) |
| HSL | hsl(266, 61%, 46%) |
| HSV | hsv(266, 76%, 75%) |
| CMYK | cmyk(43.2%, 75.8%, 0%, 25.5%) |
| CIE-LAB | lab(35.71, 55.76, -64.68) |
| CIE-LCH | lch(35.71, 85.39, 310.77°) |
| OKLab | oklab(47.1% 0.095 -0.1851) |
| OKLCH | oklch(47.1% 0.208 297.2) |
| XYZ | xyz(16.4532, 8.8595, 49.5484) |
| Luminance | 0.0886 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 3.76
Bluey Purple
#6241C7
ΔE00 4.62
Blurple
#5539CC
ΔE00 4.69
Blue With A Hint Of Purple
#533CC6
ΔE00 5.08
Burple
#6832E3
ΔE00 5.13
Rebeccapurple
#663399
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C2EBE #80BE2E
analogous
#2E38BE #6C2EBE #B42EBE
triadic
#6C2EBE #BE6C2E #2EBE6C
tetradic
#6C2EBE #BE2E38 #80BE2E #2EBEB4
square
#6C2EBE #BE2E38 #80BE2E #2EBEB4
split-complementary
#6C2EBE #BEB42E #38BE2E
monochromatic
#34165B #50228D #6C2EBE #8C54D6 #AD85E1
Accessibility & contrast
On white
7.58
#6C2EBE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#6C2EBE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #6C2EBE
7.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C2EBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C2EBE | 1.00 | 7.58 | 2.77 | 7.58 |
| #FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0052BB
Tritanopia (blue-blind)
#565474
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #6c2ebe; /* rgb */ color: rgb(108, 46, 190); /* oklch */ color: oklch(47.1% 0.208 297.2);
Tailwind
colors: {
custom: {
50: '#9e6dd3',
500: '#6c2ebe',
950: '#000000',
},
}SCSS
$custom: #6c2ebe; $custom-light: #9e6dd3; $custom-dark: #000000;
JSON
{
"hex": "#6c2ebe",
"rgb": {
"r": 108,
"g": 46,
"b": 190
},
"hsl": {
"h": 265.833,
"s": 61.017,
"l": 46.275
},
"oklch": {
"l": 0.47099,
"c": 0.20809,
"h": 297.2
},
"luminance": 0.0886
}Semantic roles & 50–950 ramp
primary
#6C2EBE
secondary
#A9CB7D
accent
#E4449F
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#0F0714
muted
#7F7A83