#6C4FF2#6C4FF2
#6C4FF2 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.7% C 0.231 H 284.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #6C4FF2 |
|---|---|
| RGB | rgb(108, 79, 242) |
| HSL | hsl(251, 86%, 63%) |
| HSV | hsv(251, 67%, 95%) |
| CMYK | cmyk(55.4%, 67.4%, 0%, 5.1%) |
| CIE-LAB | lab(45.89, 53.59, -77.88) |
| CIE-LCH | lch(45.89, 94.53, 304.53°) |
| OKLab | oklab(55.67% 0.0564 -0.224) |
| OKLCH | oklch(55.67% 0.231 284.1) |
| XYZ | xyz(25.0024, 15.1894, 85.6016) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.96
Bluish Purple
#703BE7
ΔE00 4.90
Purpley
#8756E4
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.49
Dark Periwinkle
#665FD1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6C4FF2 #D5F24F
analogous
#4F83F2 #6C4FF2 #BD4FF2
triadic
#6C4FF2 #F26C4F #4FF26C
tetradic
#6C4FF2 #F24F83 #D5F24F #4FF2BD
square
#6C4FF2 #F24F83 #D5F24F #4FF2BD
split-complementary
#6C4FF2 #F2BD4F #83F24F
monochromatic
#2C0EB9 #3C16EE #6C4FF2 #9C88F6 #CBC1FA
Accessibility & contrast
On white
5.20
#6C4FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#6C4FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6C4FF2
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6C4FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6C4FF2 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072F7
Deuteranopia (green-blind)
#0067EF
Tritanopia (blue-blind)
#2A799A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #6c4ff2; /* rgb */ color: rgb(108, 79, 242); /* oklch */ color: oklch(55.7% 0.231 284.1);
Tailwind
colors: {
custom: {
50: '#a282f8',
500: '#6c4ff2',
950: '#000000',
},
}SCSS
$custom: #6c4ff2; $custom-light: #a282f8; $custom-dark: #000000;
JSON
{
"hex": "#6c4ff2",
"rgb": {
"r": 108,
"g": 79,
"b": 242
},
"hsl": {
"h": 250.675,
"s": 86.243,
"l": 62.941
},
"oklch": {
"l": 0.55665,
"c": 0.23101,
"h": 284.1
},
"luminance": 0.15191
}Semantic roles & 50–950 ramp
primary
#6C4FF2
secondary
#E1ECB1
accent
#E303BB
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85