#6E54BC#6E54BC
#6E54BC is a mid, vivid violet. Relative luminance 0.133; OKLCH L 52.5% C 0.157 H 291.6°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #6E54BC |
|---|---|
| RGB | rgb(110, 84, 188) |
| HSL | hsl(255, 44%, 53%) |
| HSV | hsv(255, 55%, 74%) |
| CMYK | cmyk(41.5%, 55.3%, 0%, 26.3%) |
| CIE-LAB | lab(43.19, 35.55, -51.37) |
| CIE-LCH | lch(43.19, 62.47, 304.68°) |
| OKLab | oklab(52.5% 0.0578 -0.146) |
| OKLCH | oklch(52.5% 0.157 291.6) |
| XYZ | xyz(18.6754, 13.2859, 49.1477) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 3.24
Slate Blue
#6A5ACD
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.53
Royal Purple
#7851A9
ΔE00 4.59
Dark Periwinkle
#665FD1
ΔE00 5.24
Bluey Purple
#6241C7
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E54BC #A2BC54
analogous
#546EBC #6E54BC #A254BC
triadic
#6E54BC #BC6E54 #54BC6E
tetradic
#6E54BC #BC546E #A2BC54 #54BCA2
square
#6E54BC #BC546E #A2BC54 #54BCA2
split-complementary
#6E54BC #BCA254 #6EBC54
monochromatic
#3A2A6B #523B97 #6E54BC #9380CD #B9ACDE
Accessibility & contrast
On white
5.74
#6E54BC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#6E54BC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E54BC
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E54BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E54BC | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F68C0
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#596A80
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #6e54bc; /* rgb */ color: rgb(110, 84, 188); /* oklch */ color: oklch(52.5% 0.157 291.6);
Tailwind
colors: {
custom: {
50: '#9c85d1',
500: '#6e54bc',
950: '#000000',
},
}SCSS
$custom: #6e54bc; $custom-light: #9c85d1; $custom-dark: #000000;
JSON
{
"hex": "#6e54bc",
"rgb": {
"r": 110,
"g": 84,
"b": 188
},
"hsl": {
"h": 255,
"s": 43.697,
"l": 53.333
},
"oklch": {
"l": 0.52501,
"c": 0.15703,
"h": 291.6
},
"luminance": 0.13286
}Semantic roles & 50–950 ramp
primary
#6E54BC
secondary
#C1CCA0
accent
#D354B4
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0F0B14
muted
#7E7C82