#6152C7#6152C7
#6152C7 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.8% C 0.175 H 284.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #6152C7 |
|---|---|
| RGB | rgb(97, 82, 199) |
| HSL | hsl(248, 51%, 55%) |
| HSV | hsv(248, 59%, 78%) |
| CMYK | cmyk(51.3%, 58.8%, 0%, 22%) |
| CIE-LAB | lab(42.31, 37.15, -59.25) |
| CIE-LCH | lch(42.31, 69.93, 302.09°) |
| OKLab | oklab(51.8% 0.0432 -0.1696) |
| OKLCH | oklch(51.8% 0.175 284.3) |
| XYZ | xyz(18.2528, 12.6985, 55.5110) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.88
Slate Blue
#6A5ACD
ΔE00 2.85
Light Indigo
#6D5ACF
ΔE00 3.23
Dark Periwinkle
#665FD1
ΔE00 4.26
Bluey Purple
#6241C7
ΔE00 4.63
Warm Blue
#4B57DB
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6152C7 #B8C752
analogous
#527EC7 #6152C7 #9B52C7
triadic
#6152C7 #C76152 #52C761
tetradic
#6152C7 #C7527E #B8C752 #52C79B
square
#6152C7 #C7527E #B8C752 #52C79B
split-complementary
#6152C7 #C79B52 #7EC752
monochromatic
#312778 #4436A6 #6152C7 #8B80D6 #B5AEE5
Accessibility & contrast
On white
5.93
#6152C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#6152C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6152C7
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6152C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6152C7 | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#0060C5
Tritanopia (blue-blind)
#396D84
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6152c7; /* rgb */ color: rgb(97, 82, 199); /* oklch */ color: oklch(51.8% 0.175 284.3);
Tailwind
colors: {
custom: {
50: '#9683d9',
500: '#6152c7',
950: '#000000',
},
}SCSS
$custom: #6152c7; $custom-light: #9683d9; $custom-dark: #000000;
JSON
{
"hex": "#6152c7",
"rgb": {
"r": 97,
"g": 82,
"b": 199
},
"hsl": {
"h": 247.692,
"s": 51.092,
"l": 55.098
},
"oklch": {
"l": 0.51801,
"c": 0.17503,
"h": 284.3
},
"luminance": 0.12699
}Semantic roles & 50–950 ramp
primary
#6152C7
secondary
#CDD3A2
accent
#DB4DC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83