#6152C8#6152C8
#6152C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.9% C 0.176 H 284.2°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #6152C8 |
|---|---|
| RGB | rgb(97, 82, 200) |
| HSL | hsl(248, 52%, 55%) |
| HSV | hsv(248, 59%, 78%) |
| CMYK | cmyk(51.5%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(42.38, 37.46, -59.71) |
| CIE-LCH | lch(42.38, 70.49, 302.10°) |
| OKLab | oklab(51.88% 0.0432 -0.171) |
| OKLCH | oklch(51.88% 0.176 284.2) |
| XYZ | xyz(18.3692, 12.7451, 56.1245) |
| Luminance | 0.1275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.92
Slate Blue
#6A5ACD
ΔE00 2.81
Light Indigo
#6D5ACF
ΔE00 3.18
Dark Periwinkle
#665FD1
ΔE00 4.21
Warm Blue
#4B57DB
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152C8 #B9C852
analogous
#527EC8 #6152C8 #9C52C8
triadic
#6152C8 #C86152 #52C861
tetradic
#6152C8 #C8527E #B9C852 #52C89C
square
#6152C8 #C8527E #B9C852 #52C89C
split-complementary
#6152C8 #C89C52 #7EC852
monochromatic
#312779 #4435A8 #6152C8 #8B80D7 #B6AFE6
Accessibility & contrast
On white
5.92
#6152C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#6152C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152C8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152C8 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0060C6
Tritanopia (blue-blind)
#396D85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6152c8; /* rgb */ color: rgb(97, 82, 200); /* oklch */ color: oklch(51.9% 0.176 284.2);
Tailwind
colors: {
custom: {
50: '#9683d9',
500: '#6152c8',
950: '#000000',
},
}SCSS
$custom: #6152c8; $custom-light: #9683d9; $custom-dark: #000000;
JSON
{
"hex": "#6152c8",
"rgb": {
"r": 97,
"g": 82,
"b": 200
},
"hsl": {
"h": 247.627,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.51876,
"c": 0.17635,
"h": 284.2
},
"luminance": 0.12746
}Semantic roles & 50–950 ramp
primary
#6152C8
secondary
#CDD4A2
accent
#DB4DC9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83