#6A52E3#6A52E3
#6A52E3 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.7% C 0.210 H 284.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #6A52E3 |
|---|---|
| RGB | rgb(106, 82, 227) |
| HSL | hsl(250, 72%, 61%) |
| HSV | hsv(250, 64%, 89%) |
| CMYK | cmyk(53.3%, 63.9%, 0%, 11%) |
| CIE-LAB | lab(45.14, 47.23, -70.65) |
| CIE-LCH | lch(45.14, 84.98, 303.76°) |
| OKLab | oklab(54.71% 0.053 -0.2028) |
| OKLCH | oklch(54.71% 0.21 284.7) |
| XYZ | xyz(22.8221, 14.6435, 74.2821) |
| Luminance | 0.1464 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.43
Slate Blue
#6A5ACD
ΔE00 3.65
Purpleish Blue
#6140EF
ΔE00 4.37
Dark Periwinkle
#665FD1
ΔE00 4.49
Iris
#6258C4
ΔE00 4.84
Purpley
#8756E4
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A52E3 #CBE352
analogous
#5282E3 #6A52E3 #B252E3
triadic
#6A52E3 #E36A52 #52E36A
tetradic
#6A52E3 #E35282 #CBE352 #52E3B2
square
#6A52E3 #E35282 #CBE352 #52E3B2
split-complementary
#6A52E3 #E3B252 #82E352
monochromatic
#301AA1 #4023D5 #6A52E3 #9787EC #C5BBF4
Accessibility & contrast
On white
5.34
#6A52E3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#6A52E3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A52E3
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A52E3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A52E3 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#0066E0
Tritanopia (blue-blind)
#367693
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6a52e3; /* rgb */ color: rgb(106, 82, 227); /* oklch */ color: oklch(54.7% 0.210 284.7);
Tailwind
colors: {
custom: {
50: '#9f84ed',
500: '#6a52e3',
950: '#000000',
},
}SCSS
$custom: #6a52e3; $custom-light: #9f84ed; $custom-dark: #000000;
JSON
{
"hex": "#6a52e3",
"rgb": {
"r": 106,
"g": 82,
"b": 227
},
"hsl": {
"h": 249.931,
"s": 72.139,
"l": 60.588
},
"oklch": {
"l": 0.54713,
"c": 0.20967,
"h": 284.7
},
"luminance": 0.14645
}Semantic roles & 50–950 ramp
primary
#6A52E3
secondary
#DBE4AD
accent
#D411B4
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84