#6252CB#6252CB
#6252CB is a mid, vivid blue. Relative luminance 0.129; OKLCH L 52.2% C 0.180 H 284.3°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #6252CB |
|---|---|
| RGB | rgb(98, 82, 203) |
| HSL | hsl(248, 54%, 56%) |
| HSV | hsv(248, 60%, 80%) |
| CMYK | cmyk(51.7%, 59.6%, 0%, 20.4%) |
| CIE-LAB | lab(42.68, 38.57, -60.96) |
| CIE-LCH | lch(42.68, 72.13, 302.32°) |
| OKLab | oklab(52.18% 0.0444 -0.1746) |
| OKLCH | oklch(52.18% 0.18 284.3) |
| XYZ | xyz(18.8305, 12.9420, 57.9942) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.10
Slate Blue
#6A5ACD
ΔE00 2.65
Light Indigo
#6D5ACF
ΔE00 2.97
Dark Periwinkle
#665FD1
ΔE00 4.07
Warm Blue
#4B57DB
ΔE00 4.45
Bluey Purple
#6241C7
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6252CB #BBCB52
analogous
#527ECB #6252CB #9E52CB
triadic
#6252CB #CB6252 #52CB62
tetradic
#6252CB #CB527E #BBCB52 #52CB9E
square
#6252CB #CB527E #BBCB52 #52CB9E
split-complementary
#6252CB #CB9E52 #7ECB52
monochromatic
#31267D #4434AC #6252CB #8D81D9 #B7B0E7
Accessibility & contrast
On white
5.85
#6252CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#6252CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6252CB
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6252CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6252CB | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0061C8
Tritanopia (blue-blind)
#386E87
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #6252cb; /* rgb */ color: rgb(98, 82, 203); /* oklch */ color: oklch(52.2% 0.180 284.3);
Tailwind
colors: {
custom: {
50: '#9783dc',
500: '#6252cb',
950: '#000000',
},
}SCSS
$custom: #6252cb; $custom-light: #9783dc; $custom-dark: #000000;
JSON
{
"hex": "#6252cb",
"rgb": {
"r": 98,
"g": 82,
"b": 203
},
"hsl": {
"h": 247.934,
"s": 53.778,
"l": 55.882
},
"oklch": {
"l": 0.52184,
"c": 0.18016,
"h": 284.3
},
"luminance": 0.12943
}Semantic roles & 50–950 ramp
primary
#6252CB
secondary
#CFD5A3
accent
#DD4BCA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83