#6246BF#6246BF
#6246BF is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.3% C 0.180 H 288.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).
Color values
| HEX | #6246BF |
|---|---|
| RGB | rgb(98, 70, 191) |
| HSL | hsl(254, 49%, 51%) |
| HSV | hsv(254, 63%, 75%) |
| CMYK | cmyk(48.7%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(39.14, 41.99, -59.73) |
| CIE-LCH | lch(39.14, 73.01, 305.11°) |
| OKLab | oklab(49.32% 0.0577 -0.171) |
| OKLCH | oklch(49.32% 0.18 288.6) |
| XYZ | xyz(16.6284, 10.7379, 50.4766) |
| Luminance | 0.1074 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.66
Blue With A Hint Of Purple
#533CC6
ΔE00 3.45
Ocean Blue
#4F42B5
ΔE00 3.50
Blurple
#5539CC
ΔE00 3.97
Iris
#6258C4
ΔE00 5.32
Burple
#6832E3
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6246BF #A3BF46
analogous
#4666BF #6246BF #9E46BF
triadic
#6246BF #BF6246 #46BF62
tetradic
#6246BF #BF4666 #A3BF46 #46BF9E
square
#6246BF #BF4666 #A3BF46 #46BF9E
split-complementary
#6246BF #BF9E46 #66BF46
monochromatic
#332467 #4A3394 #6246BF #8973CF #AFA1DE
Accessibility & contrast
On white
6.67
#6246BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#6246BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6246BF
6.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6246BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6246BF | 1.00 | 6.67 | 3.15 | 6.67 |
| #FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC3
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#43637C
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #6246bf; /* rgb */ color: rgb(98, 70, 191); /* oklch */ color: oklch(49.3% 0.180 288.6);
Tailwind
colors: {
custom: {
50: '#967bd3',
500: '#6246bf',
950: '#000000',
},
}SCSS
$custom: #6246bf; $custom-light: #967bd3; $custom-dark: #000000;
JSON
{
"hex": "#6246bf",
"rgb": {
"r": 98,
"g": 70,
"b": 191
},
"hsl": {
"h": 253.884,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.49319,
"c": 0.18048,
"h": 288.6
},
"luminance": 0.10739
}Semantic roles & 50–950 ramp
primary
#6246BF
secondary
#BFCB96
accent
#D850B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83