#6A54DD#6A54DD
#6A54DD is a mid, vivid blue. Relative luminance 0.146; OKLCH L 54.6% C 0.200 H 285.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6A54DD |
|---|---|
| RGB | rgb(106, 84, 221) |
| HSL | hsl(250, 67%, 60%) |
| HSV | hsv(250, 62%, 87%) |
| CMYK | cmyk(52%, 62%, 0%, 13.3%) |
| CIE-LAB | lab(45.12, 44.32, -67.28) |
| CIE-LCH | lch(45.12, 80.57, 303.37°) |
| OKLab | oklab(54.55% 0.0517 -0.193) |
| OKLCH | oklch(54.55% 0.2 285) |
| XYZ | xyz(22.1614, 14.6241, 70.0476) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 3.74
Iris
#6258C4
ΔE00 4.00
Warm Blue
#4B57DB
ΔE00 4.85
Purpleish Blue
#6140EF
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6A54DD #C7DD54
analogous
#5483DD #6A54DD #AE54DD
triadic
#6A54DD #DD6A54 #54DD6A
tetradic
#6A54DD #DD5483 #C7DD54 #54DDAE
square
#6A54DD #DD5483 #C7DD54 #54DDAE
split-complementary
#6A54DD #DDAE54 #83DD54
monochromatic
#321E98 #4328CB #6A54DD #9687E7 #C3BAF1
Accessibility & contrast
On white
5.35
#6A54DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#6A54DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6A54DD
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6A54DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6A54DD | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE1
Deuteranopia (green-blind)
#0067DA
Tritanopia (blue-blind)
#3C7591
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #6a54dd; /* rgb */ color: rgb(106, 84, 221); /* oklch */ color: oklch(54.6% 0.200 285.0);
Tailwind
colors: {
custom: {
50: '#9e85e8',
500: '#6a54dd',
950: '#000000',
},
}SCSS
$custom: #6a54dd; $custom-light: #9e85e8; $custom-dark: #000000;
JSON
{
"hex": "#6a54dd",
"rgb": {
"r": 106,
"g": 84,
"b": 221
},
"hsl": {
"h": 249.635,
"s": 66.829,
"l": 59.804
},
"oklch": {
"l": 0.54551,
"c": 0.19976,
"h": 285
},
"luminance": 0.14625
}Semantic roles & 50–950 ramp
primary
#6A54DD
secondary
#D8E1AC
accent
#EA3ECE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0B16
muted
#7F7C84