#6A4FD8#6A4FD8
#6A4FD8 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.4% C 0.200 H 286.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FD8 |
|---|---|
| RGB | rgb(106, 79, 216) |
| HSL | hsl(252, 64%, 58%) |
| HSV | hsv(252, 63%, 85%) |
| CMYK | cmyk(50.9%, 63.4%, 0%, 15.3%) |
| CIE-LAB | lab(43.67, 45.69, -66.78) |
| CIE-LCH | lch(43.67, 80.91, 304.38°) |
| OKLab | oklab(53.38% 0.057 -0.1915) |
| OKLCH | oklch(53.38% 0.2 286.6) |
| XYZ | xyz(21.1308, 13.6130, 66.4666) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.30
Slate Blue
#6A5ACD
ΔE00 3.42
Iris
#6258C4
ΔE00 4.12
Purpleish Blue
#6140EF
ΔE00 4.25
Bluish Purple
#703BE7
ΔE00 4.59
Bluey Purple
#6241C7
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FD8 #BDD84F
analogous
#4F78D8 #6A4FD8 #AF4FD8
triadic
#6A4FD8 #D86A4F #4FD86A
tetradic
#6A4FD8 #D84F78 #BDD84F #4FD8AF
square
#6A4FD8 #D84F78 #BDD84F #4FD8AF
split-complementary
#6A4FD8 #D8AF4F #78D84F
monochromatic
#351F8D #482ABF #6A4FD8 #9481E3 #BFB3EE
Accessibility & contrast
On white
5.64
#6A4FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6A4FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FD8
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FD8 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BDC
Deuteranopia (green-blind)
#0063D5
Tritanopia (blue-blind)
#41708C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6a4fd8; /* rgb */ color: rgb(106, 79, 216); /* oklch */ color: oklch(53.4% 0.200 286.6);
Tailwind
colors: {
custom: {
50: '#9d82e5',
500: '#6a4fd8',
950: '#000000',
},
}SCSS
$custom: #6a4fd8; $custom-light: #9d82e5; $custom-dark: #000000;
JSON
{
"hex": "#6a4fd8",
"rgb": {
"r": 106,
"g": 79,
"b": 216
},
"hsl": {
"h": 251.825,
"s": 63.721,
"l": 57.843
},
"oklch": {
"l": 0.53384,
"c": 0.19978,
"h": 286.6
},
"luminance": 0.13614
}Semantic roles & 50–950 ramp
primary
#6A4FD8
secondary
#D2DDA6
accent
#E741C6
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84