#6152CE#6152CE
#6152CE is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.3% C 0.184 H 283.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #6152CE |
|---|---|
| RGB | rgb(97, 82, 206) |
| HSL | hsl(247, 56%, 56%) |
| HSV | hsv(247, 60%, 81%) |
| CMYK | cmyk(52.9%, 60.2%, 0%, 19.2%) |
| CIE-LAB | lab(42.81, 39.29, -62.47) |
| CIE-LCH | lch(42.81, 73.80, 302.17°) |
| OKLab | oklab(52.33% 0.043 -0.1791) |
| OKLCH | oklch(52.33% 0.184 283.5) |
| XYZ | xyz(19.0843, 13.0311, 59.8902) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.32
Slate Blue
#6A5ACD
ΔE00 2.70
Light Indigo
#6D5ACF
ΔE00 3.00
Dark Periwinkle
#665FD1
ΔE00 3.99
Warm Blue
#4B57DB
ΔE00 4.10
Bluey Purple
#6241C7
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152CE #BFCE52
analogous
#5281CE #6152CE #9F52CE
triadic
#6152CE #CE6152 #52CE61
tetradic
#6152CE #CE5281 #BFCE52 #52CE9F
square
#6152CE #CE5281 #BFCE52 #52CE9F
split-complementary
#6152CE #CE9F52 #81CE52
monochromatic
#302581 #4132B1 #6152CE #8D82DC #B8B1E9
Accessibility & contrast
On white
5.82
#6152CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#6152CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152CE
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152CE | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#336F88
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6152ce; /* rgb */ color: rgb(97, 82, 206); /* oklch */ color: oklch(52.3% 0.184 283.5);
Tailwind
colors: {
custom: {
50: '#9783de',
500: '#6152ce',
950: '#000000',
},
}SCSS
$custom: #6152ce; $custom-light: #9783de; $custom-dark: #000000;
JSON
{
"hex": "#6152ce",
"rgb": {
"r": 97,
"g": 82,
"b": 206
},
"hsl": {
"h": 247.258,
"s": 55.856,
"l": 56.471
},
"oklch": {
"l": 0.52331,
"c": 0.18418,
"h": 283.5
},
"luminance": 0.13032
}Semantic roles & 50–950 ramp
primary
#6152CE
secondary
#D1D7A4
accent
#DF49CD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83