#6152CA#6152CA
#6152CA is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.179 H 284.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #6152CA |
|---|---|
| RGB | rgb(97, 82, 202) |
| HSL | hsl(248, 53%, 56%) |
| HSV | hsv(248, 59%, 79%) |
| CMYK | cmyk(52%, 59.4%, 0%, 20.8%) |
| CIE-LAB | lab(42.52, 38.07, -60.63) |
| CIE-LCH | lch(42.52, 71.59, 302.12°) |
| OKLab | oklab(52.03% 0.0432 -0.1737) |
| OKLCH | oklch(52.03% 0.179 284) |
| XYZ | xyz(18.6045, 12.8392, 57.3636) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.03
Slate Blue
#6A5ACD
ΔE00 2.75
Light Indigo
#6D5ACF
ΔE00 3.10
Dark Periwinkle
#665FD1
ΔE00 4.12
Warm Blue
#4B57DB
ΔE00 4.39
Bluey Purple
#6241C7
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152CA #BBCA52
analogous
#527FCA #6152CA #9D52CA
triadic
#6152CA #CA6152 #52CA61
tetradic
#6152CA #CA527F #BBCA52 #52CA9D
square
#6152CA #CA527F #BBCA52 #52CA9D
split-complementary
#6152CA #CA9D52 #7FCA52
monochromatic
#31267C #4334AB #6152CA #8C81D8 #B7B0E7
Accessibility & contrast
On white
5.89
#6152CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#6152CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152CA
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152CA | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CE
Deuteranopia (green-blind)
#0060C8
Tritanopia (blue-blind)
#376E86
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6152ca; /* rgb */ color: rgb(97, 82, 202); /* oklch */ color: oklch(52.0% 0.179 284.0);
Tailwind
colors: {
custom: {
50: '#9683db',
500: '#6152ca',
950: '#000000',
},
}SCSS
$custom: #6152ca; $custom-light: #9683db; $custom-dark: #000000;
JSON
{
"hex": "#6152ca",
"rgb": {
"r": 97,
"g": 82,
"b": 202
},
"hsl": {
"h": 247.5,
"s": 53.097,
"l": 55.686
},
"oklch": {
"l": 0.52026,
"c": 0.17897,
"h": 284
},
"luminance": 0.1284
}Semantic roles & 50–950 ramp
primary
#6152CA
secondary
#CFD5A3
accent
#DD4BCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83