#6249C8#6249C8
#6249C8 is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.5% C 0.188 H 286.6°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #6249C8 |
|---|---|
| RGB | rgb(98, 73, 200) |
| HSL | hsl(252, 54%, 54%) |
| HSV | hsv(252, 64%, 78%) |
| CMYK | cmyk(51%, 63.5%, 0%, 21.6%) |
| CIE-LAB | lab(40.46, 42.92, -62.82) |
| CIE-LCH | lch(40.46, 76.08, 304.35°) |
| OKLab | oklab(50.5% 0.0538 -0.1801) |
| OKLCH | oklch(50.5% 0.188 286.6) |
| XYZ | xyz(17.8418, 11.5310, 55.9180) |
| Luminance | 0.1153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.06
Blue With A Hint Of Purple
#533CC6
ΔE00 3.92
Blurple
#5539CC
ΔE00 4.28
Ocean Blue
#4F42B5
ΔE00 4.37
Iris
#6258C4
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6249C8 #AFC849
analogous
#496FC8 #6249C8 #A149C8
triadic
#6249C8 #C86249 #49C862
tetradic
#6249C8 #C8496F #AFC849 #49C8A1
square
#6249C8 #C8496F #AFC849 #49C8A1
split-complementary
#6249C8 #C8A149 #6FC849
monochromatic
#332374 #4731A3 #6249C8 #8B78D6 #B3A7E4
Accessibility & contrast
On white
6.35
#6249C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.31
#6249C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6249C8
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6249C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6249C8 | 1.00 | 6.35 | 3.31 | 6.35 |
| #FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#3C6882
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #6249c8; /* rgb */ color: rgb(98, 73, 200); /* oklch */ color: oklch(50.5% 0.188 286.6);
Tailwind
colors: {
custom: {
50: '#977dda',
500: '#6249c8',
950: '#000000',
},
}SCSS
$custom: #6249c8; $custom-light: #977dda; $custom-dark: #000000;
JSON
{
"hex": "#6249c8",
"rgb": {
"r": 98,
"g": 73,
"b": 200
},
"hsl": {
"h": 251.811,
"s": 53.586,
"l": 53.529
},
"oklch": {
"l": 0.50496,
"c": 0.18796,
"h": 286.6
},
"luminance": 0.11532
}Semantic roles & 50–950 ramp
primary
#6249C8
secondary
#C7D29B
accent
#DD4BC0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83