#6A4FE5#6A4FE5
#6A4FE5 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.4% C 0.216 H 284.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FE5 |
|---|---|
| RGB | rgb(106, 79, 229) |
| HSL | hsl(251, 74%, 60%) |
| HSV | hsv(251, 66%, 90%) |
| CMYK | cmyk(53.7%, 65.5%, 0%, 10.2%) |
| CIE-LAB | lab(44.68, 49.49, -72.54) |
| CIE-LCH | lch(44.68, 87.81, 304.30°) |
| OKLab | oklab(54.43% 0.0556 -0.2084) |
| OKLCH | oklch(54.43% 0.216 284.9) |
| XYZ | xyz(22.8784, 14.3120, 75.6705) |
| Luminance | 0.1431 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.63
Light Indigo
#6D5ACF
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.29
Bluish Purple
#703BE7
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.24
Purpley
#8756E4
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FE5 #CAE54F
analogous
#4F7FE5 #6A4FE5 #B54FE5
triadic
#6A4FE5 #E56A4F #4FE56A
tetradic
#6A4FE5 #E54F7F #CAE54F #4FE5B5
square
#6A4FE5 #E54F7F #CAE54F #4FE5B5
split-complementary
#6A4FE5 #E5B54F #7FE54F
monochromatic
#3118A2 #4120D7 #6A4FE5 #9784ED #C4BAF5
Accessibility & contrast
On white
5.44
#6A4FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#6A4FE5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FE5
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FE5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FE5 | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEA
Deuteranopia (green-blind)
#0065E2
Tritanopia (blue-blind)
#347593
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a4fe5; /* rgb */ color: rgb(106, 79, 229); /* oklch */ color: oklch(54.4% 0.216 284.9);
Tailwind
colors: {
custom: {
50: '#9f82ee',
500: '#6a4fe5',
950: '#000000',
},
}SCSS
$custom: #6a4fe5; $custom-light: #9f82ee; $custom-dark: #000000;
JSON
{
"hex": "#6a4fe5",
"rgb": {
"r": 106,
"g": 79,
"b": 229
},
"hsl": {
"h": 250.8,
"s": 74.257,
"l": 60.392
},
"oklch": {
"l": 0.54425,
"c": 0.21569,
"h": 284.9
},
"luminance": 0.14313
}Semantic roles & 50–950 ramp
primary
#6A4FE5
secondary
#DAE5AB
accent
#D60FB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85