#6E51F2#6E51F2
#6E51F2 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.229 H 284.5°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #6E51F2 |
|---|---|
| RGB | rgb(110, 81, 242) |
| HSL | hsl(251, 86%, 63%) |
| HSV | hsv(251, 67%, 95%) |
| CMYK | cmyk(54.5%, 66.5%, 0%, 5.1%) |
| CIE-LAB | lab(46.46, 52.82, -76.95) |
| CIE-LCH | lch(46.46, 93.33, 304.47°) |
| OKLab | oklab(56.11% 0.0574 -0.2212) |
| OKLCH | oklch(56.11% 0.229 284.5) |
| XYZ | xyz(25.3950, 15.6092, 85.6619) |
| Luminance | 0.1561 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.55
Purpley
#8756E4
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.03
Slate Blue
#6A5ACD
ΔE00 5.36
Bluish Purple
#703BE7
ΔE00 5.38
Dark Periwinkle
#665FD1
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E51F2 #D5F251
analogous
#5185F2 #6E51F2 #BE51F2
triadic
#6E51F2 #F26E51 #51F26E
tetradic
#6E51F2 #F25185 #D5F251 #51F2BE
square
#6E51F2 #F25185 #D5F251 #51F2BE
split-complementary
#6E51F2 #F2BE51 #85F251
monochromatic
#2D0EBB #3F18EE #6E51F2 #9D8AF6 #CDC3FB
Accessibility & contrast
On white
5.09
#6E51F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#6E51F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E51F2
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E51F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E51F2 | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#317A9B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #6e51f2; /* rgb */ color: rgb(110, 81, 242); /* oklch */ color: oklch(56.1% 0.229 284.5);
Tailwind
colors: {
custom: {
50: '#a384f7',
500: '#6e51f2',
950: '#000000',
},
}SCSS
$custom: #6e51f2; $custom-light: #a384f7; $custom-dark: #000000;
JSON
{
"hex": "#6e51f2",
"rgb": {
"r": 110,
"g": 81,
"b": 242
},
"hsl": {
"h": 250.807,
"s": 86.096,
"l": 63.333
},
"oklch": {
"l": 0.56112,
"c": 0.22854,
"h": 284.5
},
"luminance": 0.15611
}Semantic roles & 50–950 ramp
primary
#6E51F2
secondary
#E2ECB3
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85