#6D4FE2#6D4FE2
#6D4FE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.212 H 286.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #6D4FE2 |
|---|---|
| RGB | rgb(109, 79, 226) |
| HSL | hsl(252, 72%, 60%) |
| HSV | hsv(252, 65%, 89%) |
| CMYK | cmyk(51.8%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(44.71, 49.12, -70.78) |
| CIE-LCH | lch(44.71, 86.15, 304.76°) |
| OKLab | oklab(54.44% 0.0599 -0.2031) |
| OKLCH | oklch(54.44% 0.212 286.4) |
| XYZ | xyz(22.8260, 14.3330, 73.5006) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.83
Purpleish Blue
#6140EF
ΔE00 3.87
Slate Blue
#6A5ACD
ΔE00 4.09
Bluish Purple
#703BE7
ΔE00 4.33
Purpley
#8756E4
ΔE00 4.90
Iris
#6258C4
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6D4FE2 #C4E24F
analogous
#4F7BE2 #6D4FE2 #B74FE2
triadic
#6D4FE2 #E26D4F #4FE26D
tetradic
#6D4FE2 #E24F7B #C4E24F #4FE2B7
square
#6D4FE2 #E24F7B #C4E24F #4FE2B7
split-complementary
#6D4FE2 #E2B74F #7BE24F
monochromatic
#351A9D #4622D1 #6D4FE2 #9984EB #C4B8F3
Accessibility & contrast
On white
5.43
#6D4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6D4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6D4FE2
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6D4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6D4FE2 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#3F7492
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6d4fe2; /* rgb */ color: rgb(109, 79, 226); /* oklch */ color: oklch(54.4% 0.212 286.4);
Tailwind
colors: {
custom: {
50: '#a182ec',
500: '#6d4fe2',
950: '#000000',
},
}SCSS
$custom: #6d4fe2; $custom-light: #a182ec; $custom-dark: #000000;
JSON
{
"hex": "#6d4fe2",
"rgb": {
"r": 109,
"g": 79,
"b": 226
},
"hsl": {
"h": 252.245,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.54437,
"c": 0.21179,
"h": 286.4
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#6D4FE2
secondary
#D7E3AA
accent
#EE39C9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84