#6A57BE#6A57BE
#6A57BE is a mid, vivid violet. Relative luminance 0.136; OKLCH L 52.8% C 0.155 H 288.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #6A57BE |
|---|---|
| RGB | rgb(106, 87, 190) |
| HSL | hsl(251, 44%, 54%) |
| HSV | hsv(251, 54%, 75%) |
| CMYK | cmyk(44.2%, 54.2%, 0%, 25.5%) |
| CIE-LAB | lab(43.65, 33.40, -51.81) |
| CIE-LCH | lch(43.65, 61.65, 302.81°) |
| OKLab | oklab(52.79% 0.049 -0.1474) |
| OKLCH | oklch(52.79% 0.155 288.4) |
| XYZ | xyz(18.6437, 13.5976, 50.3475) |
| Luminance | 0.1360 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Iris
#6258C4
ΔE00 1.99
Slate Blue
#6A5ACD
ΔE00 2.51
Light Indigo
#6D5ACF
ΔE00 2.77
Dark Periwinkle
#665FD1
ΔE00 4.07
Royal Purple
#7851A9
ΔE00 5.71
Bluey Purple
#6241C7
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A57BE #ABBE57
analogous
#5778BE #6A57BE #9E57BE
triadic
#6A57BE #BE6A57 #57BE6A
tetradic
#6A57BE #BE5778 #ABBE57 #57BE9E
square
#6A57BE #BE5778 #ABBE57 #57BE9E
split-complementary
#6A57BE #BE9E57 #78BE57
monochromatic
#382B6F #4E3C9C #6A57BE #9183CF #B8AFE0
Accessibility & contrast
On white
5.65
#6A57BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#6A57BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A57BE
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A57BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A57BE | 1.00 | 5.65 | 3.72 | 5.65 |
| #FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2369C2
Deuteranopia (green-blind)
#2465BC
Tritanopia (blue-blind)
#516D82
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #6a57be; /* rgb */ color: rgb(106, 87, 190); /* oklch */ color: oklch(52.8% 0.155 288.4);
Tailwind
colors: {
custom: {
50: '#9a87d2',
500: '#6a57be',
950: '#000000',
},
}SCSS
$custom: #6a57be; $custom-light: #9a87d2; $custom-dark: #000000;
JSON
{
"hex": "#6a57be",
"rgb": {
"r": 106,
"g": 87,
"b": 190
},
"hsl": {
"h": 251.068,
"s": 44.206,
"l": 54.314
},
"oklch": {
"l": 0.52793,
"c": 0.15538,
"h": 288.4
},
"luminance": 0.13598
}Semantic roles & 50–950 ramp
primary
#6A57BE
secondary
#C6CEA3
accent
#D454BC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83