#6C4EF2#6C4EF2
#6C4EF2 is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.5% C 0.232 H 284.3°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4EF2 |
|---|---|
| RGB | rgb(108, 78, 242) |
| HSL | hsl(251, 86%, 63%) |
| HSV | hsv(251, 68%, 95%) |
| CMYK | cmyk(55.4%, 67.8%, 0%, 5.1%) |
| CIE-LAB | lab(45.70, 54.13, -78.20) |
| CIE-LCH | lch(45.70, 95.10, 304.69°) |
| OKLab | oklab(55.53% 0.0572 -0.2249) |
| OKLCH | oklch(55.53% 0.232 284.3) |
| XYZ | xyz(24.9309, 15.0462, 85.5777) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.74
Bluish Purple
#703BE7
ΔE00 4.66
Purpley
#8756E4
ΔE00 5.11
Light Indigo
#6D5ACF
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.59
Dark Periwinkle
#665FD1
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4EF2 #D4F24E
analogous
#4E82F2 #6C4EF2 #BE4EF2
triadic
#6C4EF2 #F26C4E #4EF26C
tetradic
#6C4EF2 #F24E82 #D4F24E #4EF2BE
square
#6C4EF2 #F24E82 #D4F24E #4EF2BE
split-complementary
#6C4EF2 #F2BE4E #82F24E
monochromatic
#2D0EB8 #3D15EE #6C4EF2 #9B87F6 #CBC0FA
Accessibility & contrast
On white
5.24
#6C4EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#6C4EF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4EF2
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4EF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4EF2 | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#2B799A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #6c4ef2; /* rgb */ color: rgb(108, 78, 242); /* oklch */ color: oklch(55.5% 0.232 284.3);
Tailwind
colors: {
custom: {
50: '#a282f8',
500: '#6c4ef2',
950: '#000000',
},
}SCSS
$custom: #6c4ef2; $custom-light: #a282f8; $custom-dark: #000000;
JSON
{
"hex": "#6c4ef2",
"rgb": {
"r": 108,
"g": 78,
"b": 242
},
"hsl": {
"h": 250.976,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.55525,
"c": 0.23212,
"h": 284.3
},
"luminance": 0.15048
}Semantic roles & 50–950 ramp
primary
#6C4EF2
secondary
#E1ECB0
accent
#E303BA
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85