#6A5CED#6A5CED
#6A5CED is a mid, highly saturated blue. Relative luminance 0.168; OKLCH L 57.1% C 0.210 H 281.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #6A5CED |
|---|---|
| RGB | rgb(106, 92, 237) |
| HSL | hsl(246, 80%, 65%) |
| HSV | hsv(246, 61%, 93%) |
| CMYK | cmyk(55.3%, 61.2%, 0%, 7.1%) |
| CIE-LAB | lab(48.05, 44.52, -71.56) |
| CIE-LCH | lch(48.05, 84.28, 301.89°) |
| OKLab | oklab(57.07% 0.0429 -0.2055) |
| OKLCH | oklch(57.07% 0.21 281.8) |
| XYZ | xyz(25.0523, 16.8313, 82.0330) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 3.97
Light Indigo
#6D5ACF
ΔE00 4.27
Mediumslateblue
#7B68EE
ΔE00 4.41
Slate Blue
#6A5ACD
ΔE00 4.52
Purpley
#8756E4
ΔE00 5.32
Warm Blue
#4B57DB
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A5CED #DFED5C
analogous
#5C97ED #6A5CED #B35CED
triadic
#6A5CED #ED6A5C #5CED6A
tetradic
#6A5CED #ED5C97 #DFED5C #5CEDB3
square
#6A5CED #ED5C97 #DFED5C #5CEDB3
split-complementary
#6A5CED #EDB35C #97ED5C
monochromatic
#2515BA #3825E7 #6A5CED #9C93F3 #CFCAF9
Accessibility & contrast
On white
4.81
#6A5CED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#6A5CED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A5CED
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A5CED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A5CED | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F2
Deuteranopia (green-blind)
#006DEA
Tritanopia (blue-blind)
#287F9C
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #6a5ced; /* rgb */ color: rgb(106, 92, 237); /* oklch */ color: oklch(57.1% 0.210 281.8);
Tailwind
colors: {
custom: {
50: '#a08bf4',
500: '#6a5ced',
950: '#000000',
},
}SCSS
$custom: #6a5ced; $custom-light: #a08bf4; $custom-dark: #000000;
JSON
{
"hex": "#6a5ced",
"rgb": {
"r": 106,
"g": 92,
"b": 237
},
"hsl": {
"h": 245.793,
"s": 80.11,
"l": 64.51
},
"oklch": {
"l": 0.57065,
"c": 0.20995,
"h": 281.8
},
"luminance": 0.16833
}Semantic roles & 50–950 ramp
primary
#6A5CED
secondary
#E7EBB9
accent
#DC09C8
background
#FAF8FF
surface
#F4F0FE
border
#CECBD6
text
#100C17
muted
#7F7D85