#6E54EC#6E54EC
#6E54EC is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.1% C 0.218 H 284.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #6E54EC |
|---|---|
| RGB | rgb(110, 84, 236) |
| HSL | hsl(250, 80%, 63%) |
| HSV | hsv(250, 64%, 93%) |
| CMYK | cmyk(53.4%, 64.4%, 0%, 7.5%) |
| CIE-LAB | lab(46.59, 49.44, -73.35) |
| CIE-LCH | lch(46.59, 88.46, 303.98°) |
| OKLab | oklab(56.06% 0.0555 -0.2107) |
| OKLCH | oklch(56.06% 0.218 284.7) |
| XYZ | xyz(24.7365, 15.7104, 81.0696) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.15
Purpley
#8756E4
ΔE00 4.38
Slate Blue
#6A5ACD
ΔE00 4.49
Dark Periwinkle
#665FD1
ΔE00 4.91
Purpleish Blue
#6140EF
ΔE00 5.07
Bluish Purple
#703BE7
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E54EC #D2EC54
analogous
#5486EC #6E54EC #BA54EC
triadic
#6E54EC #EC6E54 #54EC6E
tetradic
#6E54EC #EC5486 #D2EC54 #54ECBA
square
#6E54EC #EC5486 #D2EC54 #54ECBA
split-complementary
#6E54EC #ECBA54 #86EC54
monochromatic
#2F14B2 #3F1DE6 #6E54EC #9D8BF2 #CBC2F8
Accessibility & contrast
On white
5.07
#6E54EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#6E54EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E54EC
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E54EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E54EC | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F1
Deuteranopia (green-blind)
#006AE9
Tritanopia (blue-blind)
#387A99
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6e54ec; /* rgb */ color: rgb(110, 84, 236); /* oklch */ color: oklch(56.1% 0.218 284.7);
Tailwind
colors: {
custom: {
50: '#a286f3',
500: '#6e54ec',
950: '#000000',
},
}SCSS
$custom: #6e54ec; $custom-light: #a286f3; $custom-dark: #000000;
JSON
{
"hex": "#6e54ec",
"rgb": {
"r": 110,
"g": 84,
"b": 236
},
"hsl": {
"h": 250.263,
"s": 80,
"l": 62.745
},
"oklch": {
"l": 0.56063,
"c": 0.21785,
"h": 284.7
},
"luminance": 0.15712
}Semantic roles & 50–950 ramp
primary
#6E54EC
secondary
#E0E9B2
accent
#DC09B8
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85