#6252C8#6252C8
#6252C8 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 52.0% C 0.176 H 284.6°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #6252C8 |
|---|---|
| RGB | rgb(98, 82, 200) |
| HSL | hsl(248, 52%, 55%) |
| HSV | hsv(248, 59%, 78%) |
| CMYK | cmyk(51%, 59%, 0%, 21.6%) |
| CIE-LAB | lab(42.46, 37.66, -59.57) |
| CIE-LCH | lch(42.46, 70.47, 302.30°) |
| OKLab | oklab(51.96% 0.0445 -0.1705) |
| OKLCH | oklch(51.96% 0.176 284.6) |
| XYZ | xyz(18.4765, 12.8004, 56.1295) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.94
Slate Blue
#6A5ACD
ΔE00 2.73
Light Indigo
#6D5ACF
ΔE00 3.08
Dark Periwinkle
#665FD1
ΔE00 4.20
Bluey Purple
#6241C7
ΔE00 4.60
Warm Blue
#4B57DB
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6252C8 #B8C852
analogous
#527DC8 #6252C8 #9D52C8
triadic
#6252C8 #C86252 #52C862
tetradic
#6252C8 #C8527D #B8C852 #52C89D
square
#6252C8 #C8527D #B8C852 #52C89D
split-complementary
#6252C8 #C89D52 #7DC852
monochromatic
#322779 #4535A8 #6252C8 #8C80D7 #B6AFE6
Accessibility & contrast
On white
5.90
#6252C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#6252C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6252C8
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6252C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6252C8 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#3B6D85
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #6252c8; /* rgb */ color: rgb(98, 82, 200); /* oklch */ color: oklch(52.0% 0.176 284.6);
Tailwind
colors: {
custom: {
50: '#9683d9',
500: '#6252c8',
950: '#000000',
},
}SCSS
$custom: #6252c8; $custom-light: #9683d9; $custom-dark: #000000;
JSON
{
"hex": "#6252c8",
"rgb": {
"r": 98,
"g": 82,
"b": 200
},
"hsl": {
"h": 248.136,
"s": 51.754,
"l": 55.294
},
"oklch": {
"l": 0.51959,
"c": 0.17623,
"h": 284.6
},
"luminance": 0.12801
}Semantic roles & 50–950 ramp
primary
#6252C8
secondary
#CDD4A2
accent
#DB4DC8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83