#6A4FE2#6A4FE2
#6A4FE2 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.2% C 0.212 H 285.3°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FE2 |
|---|---|
| RGB | rgb(106, 79, 226) |
| HSL | hsl(251, 72%, 60%) |
| HSV | hsv(251, 65%, 89%) |
| CMYK | cmyk(53.1%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(44.44, 48.61, -71.22) |
| CIE-LCH | lch(44.44, 86.23, 304.31°) |
| OKLab | oklab(54.18% 0.0559 -0.2045) |
| OKLCH | oklch(54.18% 0.212 285.3) |
| XYZ | xyz(22.4632, 14.1459, 73.4835) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 3.85
Slate Blue
#6A5ACD
ΔE00 4.05
Bluish Purple
#703BE7
ΔE00 4.40
Iris
#6258C4
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FE2 #C7E24F
analogous
#4F7EE2 #6A4FE2 #B34FE2
triadic
#6A4FE2 #E26A4F #4FE26A
tetradic
#6A4FE2 #E24F7E #C7E24F #4FE2B3
square
#6A4FE2 #E24F7E #C7E24F #4FE2B3
split-complementary
#6A4FE2 #E2B34F #7EE24F
monochromatic
#321A9D #4322D1 #6A4FE2 #9684EB #C3B8F3
Accessibility & contrast
On white
5.48
#6A4FE2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#6A4FE2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FE2
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FE2 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE7
Deuteranopia (green-blind)
#0065DF
Tritanopia (blue-blind)
#387492
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #6a4fe2; /* rgb */ color: rgb(106, 79, 226); /* oklch */ color: oklch(54.2% 0.212 285.3);
Tailwind
colors: {
custom: {
50: '#9f82ec',
500: '#6a4fe2',
950: '#000000',
},
}SCSS
$custom: #6a4fe2; $custom-light: #9f82ec; $custom-dark: #000000;
JSON
{
"hex": "#6a4fe2",
"rgb": {
"r": 106,
"g": 79,
"b": 226
},
"hsl": {
"h": 251.02,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.54181,
"c": 0.21205,
"h": 285.3
},
"luminance": 0.14147
}Semantic roles & 50–950 ramp
primary
#6A4FE2
secondary
#D8E3AA
accent
#EE39CD
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A16
muted
#7F7C84