#6A4CE3#6A4CE3
#6A4CE3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 53.8% C 0.217 H 285.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4CE3 |
|---|---|
| RGB | rgb(106, 76, 227) |
| HSL | hsl(252, 73%, 59%) |
| HSV | hsv(252, 67%, 89%) |
| CMYK | cmyk(53.3%, 66.5%, 0%, 11%) |
| CIE-LAB | lab(43.91, 50.55, -72.65) |
| CIE-LCH | lch(43.91, 88.51, 304.83°) |
| OKLab | oklab(53.82% 0.0585 -0.2087) |
| OKLCH | oklch(53.82% 0.217 285.7) |
| XYZ | xyz(22.3893, 13.7779, 74.1378) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.03
Bluish Purple
#703BE7
ΔE00 3.66
Light Indigo
#6D5ACF
ΔE00 4.49
Slate Blue
#6A5ACD
ΔE00 4.67
Bluey Purple
#6241C7
ΔE00 5.11
Purpley Blue
#5F34E7
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4CE3 #C5E34C
analogous
#4C79E3 #6A4CE3 #B64CE3
triadic
#6A4CE3 #E36A4C #4CE36A
tetradic
#6A4CE3 #E34C79 #C5E34C #4CE3B6
square
#6A4CE3 #E34C79 #C5E34C #4CE3B6
split-complementary
#6A4CE3 #E3B64C #79E34C
monochromatic
#33189C #4421D1 #6A4CE3 #9681EB #C2B6F4
Accessibility & contrast
On white
5.59
#6A4CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#6A4CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4CE3
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4CE3 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#377291
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #6a4ce3; /* rgb */ color: rgb(106, 76, 227); /* oklch */ color: oklch(53.8% 0.217 285.7);
Tailwind
colors: {
custom: {
50: '#9f80ed',
500: '#6a4ce3',
950: '#000000',
},
}SCSS
$custom: #6a4ce3; $custom-light: #9f80ed; $custom-dark: #000000;
JSON
{
"hex": "#6a4ce3",
"rgb": {
"r": 106,
"g": 76,
"b": 227
},
"hsl": {
"h": 251.921,
"s": 72.947,
"l": 59.412
},
"oklch": {
"l": 0.53824,
"c": 0.21678,
"h": 285.7
},
"luminance": 0.13779
}Semantic roles & 50–950 ramp
primary
#6A4CE3
secondary
#D7E3A8
accent
#F038CB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84