#6C4FE2#6C4FE2
#6C4FE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.212 H 286.0°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FE2 |
|---|---|
| RGB | rgb(108, 79, 226) |
| HSL | hsl(252, 72%, 60%) |
| HSV | hsv(252, 65%, 89%) |
| CMYK | cmyk(52.2%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(44.62, 48.95, -70.93) |
| CIE-LCH | lch(44.62, 86.18, 304.61°) |
| OKLab | oklab(54.35% 0.0586 -0.2036) |
| OKLCH | oklch(54.35% 0.212 286) |
| XYZ | xyz(22.7037, 14.2699, 73.4948) |
| Luminance | 0.1427 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 3.83
Slate Blue
#6A5ACD
ΔE00 4.07
Bluish Purple
#703BE7
ΔE00 4.35
Purpley
#8756E4
ΔE00 5.05
Iris
#6258C4
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FE2 #C5E24F
analogous
#4F7BE2 #6C4FE2 #B64FE2
triadic
#6C4FE2 #E26C4F #4FE26C
tetradic
#6C4FE2 #E24F7B #C5E24F #4FE2B6
square
#6C4FE2 #E24F7B #C5E24F #4FE2B6
split-complementary
#6C4FE2 #E2B64F #7BE24F
monochromatic
#341A9D #4522D1 #6C4FE2 #9884EB #C4B8F3
Accessibility & contrast
On white
5.45
#6C4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#6C4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FE2
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FE2 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#3D7492
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6c4fe2; /* rgb */ color: rgb(108, 79, 226); /* oklch */ color: oklch(54.4% 0.212 286.0);
Tailwind
colors: {
custom: {
50: '#a082ec',
500: '#6c4fe2',
950: '#000000',
},
}SCSS
$custom: #6c4fe2; $custom-light: #a082ec; $custom-dark: #000000;
JSON
{
"hex": "#6c4fe2",
"rgb": {
"r": 108,
"g": 79,
"b": 226
},
"hsl": {
"h": 251.837,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.54351,
"c": 0.21187,
"h": 286
},
"luminance": 0.14271
}Semantic roles & 50–950 ramp
primary
#6C4FE2
secondary
#D8E3AA
accent
#EE39CB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84