#6E4FF2#6E4FF2
#6E4FF2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.231 H 284.8°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #6E4FF2 |
|---|---|
| RGB | rgb(110, 79, 242) |
| HSL | hsl(251, 86%, 63%) |
| HSV | hsv(251, 67%, 95%) |
| CMYK | cmyk(54.5%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(46.06, 53.90, -77.59) |
| CIE-LCH | lch(46.06, 94.47, 304.79°) |
| OKLab | oklab(55.83% 0.059 -0.2231) |
| OKLCH | oklch(55.83% 0.231 284.8) |
| XYZ | xyz(25.2485, 15.3163, 85.6131) |
| Luminance | 0.1532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 4.10
Purpley
#8756E4
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 4.90
Light Indigo
#6D5ACF
ΔE00 5.22
Slate Blue
#6A5ACD
ΔE00 5.53
Dark Periwinkle
#665FD1
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6E4FF2 #D3F24F
analogous
#4F81F2 #6E4FF2 #BF4FF2
triadic
#6E4FF2 #F26E4F #4FF26E
tetradic
#6E4FF2 #F24F81 #D3F24F #4FF2BF
square
#6E4FF2 #F24F81 #D3F24F #4FF2BF
split-complementary
#6E4FF2 #F2BF4F #81F24F
monochromatic
#2E0EB9 #3F16EE #6E4FF2 #9D88F6 #CCC1FA
Accessibility & contrast
On white
5.17
#6E4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.06
#6E4FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6E4FF2
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6E4FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6E4FF2 | 1.00 | 5.17 | 4.06 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0068EF
Tritanopia (blue-blind)
#31799A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6e4ff2; /* rgb */ color: rgb(110, 79, 242); /* oklch */ color: oklch(55.8% 0.231 284.8);
Tailwind
colors: {
custom: {
50: '#a383f8',
500: '#6e4ff2',
950: '#000000',
},
}SCSS
$custom: #6e4ff2; $custom-light: #a383f8; $custom-dark: #000000;
JSON
{
"hex": "#6e4ff2",
"rgb": {
"r": 110,
"g": 79,
"b": 242
},
"hsl": {
"h": 251.411,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.5583,
"c": 0.23079,
"h": 284.8
},
"luminance": 0.15318
}Semantic roles & 50–950 ramp
primary
#6E4FF2
secondary
#E1ECB1
accent
#E303B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85