#6A4FE6#6A4FE6
#6A4FE6 is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.5% C 0.217 H 284.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #6A4FE6 |
|---|---|
| RGB | rgb(106, 79, 230) |
| HSL | hsl(251, 75%, 61%) |
| HSV | hsv(251, 66%, 90%) |
| CMYK | cmyk(53.9%, 65.7%, 0%, 9.8%) |
| CIE-LAB | lab(44.76, 49.78, -72.98) |
| CIE-LCH | lch(44.76, 88.34, 304.30°) |
| OKLab | oklab(54.51% 0.0554 -0.2097) |
| OKLCH | oklch(54.51% 0.217 284.8) |
| XYZ | xyz(23.0184, 14.3680, 76.4080) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 3.62
Light Indigo
#6D5ACF
ΔE00 4.16
Slate Blue
#6A5ACD
ΔE00 4.37
Bluish Purple
#703BE7
ΔE00 4.44
Purpley
#8756E4
ΔE00 5.26
Dark Periwinkle
#665FD1
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A4FE6 #CBE64F
analogous
#4F80E6 #6A4FE6 #B54FE6
triadic
#6A4FE6 #E66A4F #4FE66A
tetradic
#6A4FE6 #E64F80 #CBE64F #4FE6B5
square
#6A4FE6 #E64F80 #CBE64F #4FE6B5
split-complementary
#6A4FE6 #E6B54F #80E64F
monochromatic
#3017A3 #401FD9 #6A4FE6 #9785EE #C5BAF5
Accessibility & contrast
On white
5.42
#6A4FE6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#6A4FE6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A4FE6
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A4FE6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A4FE6 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0065E3
Tritanopia (blue-blind)
#337594
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #6a4fe6; /* rgb */ color: rgb(106, 79, 230); /* oklch */ color: oklch(54.5% 0.217 284.8);
Tailwind
colors: {
custom: {
50: '#9f82ef',
500: '#6a4fe6',
950: '#000000',
},
}SCSS
$custom: #6a4fe6; $custom-light: #9f82ef; $custom-dark: #000000;
JSON
{
"hex": "#6a4fe6",
"rgb": {
"r": 106,
"g": 79,
"b": 230
},
"hsl": {
"h": 250.728,
"s": 75.124,
"l": 60.588
},
"oklch": {
"l": 0.54506,
"c": 0.2169,
"h": 284.8
},
"luminance": 0.14369
}Semantic roles & 50–950 ramp
primary
#6A4FE6
secondary
#DBE5AC
accent
#D70EB3
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85