#6E51EC#6E51EC
#6E51EC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.221 H 285.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #6E51EC |
|---|---|
| RGB | rgb(110, 81, 236) |
| HSL | hsl(251, 80%, 62%) |
| HSV | hsv(251, 66%, 93%) |
| CMYK | cmyk(53.4%, 65.7%, 0%, 7.5%) |
| CIE-LAB | lab(45.98, 51.09, -74.35) |
| CIE-LCH | lch(45.98, 90.21, 304.49°) |
| OKLab | oklab(55.62% 0.0582 -0.2136) |
| OKLCH | oklch(55.62% 0.221 285.2) |
| XYZ | xyz(24.5086, 15.2546, 80.9936) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.35
Light Indigo
#6D5ACF
ΔE00 4.42
Purpley
#8756E4
ΔE00 4.52
Slate Blue
#6A5ACD
ΔE00 4.74
Bluish Purple
#703BE7
ΔE00 5.07
Dark Periwinkle
#665FD1
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E51EC #CFEC51
analogous
#5181EC #6E51EC #BC51EC
triadic
#6E51EC #EC6E51 #51EC6E
tetradic
#6E51EC #EC5181 #CFEC51 #51ECBC
square
#6E51EC #EC5181 #CFEC51 #51ECBC
split-complementary
#6E51EC #ECBC51 #81EC51
monochromatic
#3013AF #401AE6 #6E51EC #9C88F2 #CABFF8
Accessibility & contrast
On white
5.18
#6E51EC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#6E51EC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E51EC
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E51EC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E51EC | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F1
Deuteranopia (green-blind)
#0068E9
Tritanopia (blue-blind)
#387898
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6e51ec; /* rgb */ color: rgb(110, 81, 236); /* oklch */ color: oklch(55.6% 0.221 285.2);
Tailwind
colors: {
custom: {
50: '#a284f3',
500: '#6e51ec',
950: '#000000',
},
}SCSS
$custom: #6e51ec; $custom-light: #a284f3; $custom-dark: #000000;
JSON
{
"hex": "#6e51ec",
"rgb": {
"r": 110,
"g": 81,
"b": 236
},
"hsl": {
"h": 251.226,
"s": 80.311,
"l": 62.157
},
"oklch": {
"l": 0.55622,
"c": 0.22138,
"h": 285.2
},
"luminance": 0.15256
}Semantic roles & 50–950 ramp
primary
#6E51EC
secondary
#DEE9B0
accent
#DD09B5
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85