#6246E1#6246E1
#6246E1 is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.1% C 0.222 H 283.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #6246E1 |
|---|---|
| RGB | rgb(98, 70, 225) |
| HSL | hsl(251, 72%, 58%) |
| HSV | hsv(251, 69%, 88%) |
| CMYK | cmyk(56.4%, 68.9%, 0%, 11.8%) |
| CIE-LAB | lab(41.86, 51.96, -74.90) |
| CIE-LCH | lch(41.86, 91.16, 304.75°) |
| OKLab | oklab(52.13% 0.0532 -0.2156) |
| OKLCH | oklch(52.13% 0.222 283.9) |
| XYZ | xyz(20.8136, 12.4119, 72.5186) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.91
Bluish Purple
#703BE7
ΔE00 2.95
Purpley Blue
#5F34E7
ΔE00 3.67
Bluey Purple
#6241C7
ΔE00 3.83
Burple
#6832E3
ΔE00 4.03
Blurple
#5539CC
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6246E1 #C5E146
analogous
#4677E1 #6246E1 #B046E1
triadic
#6246E1 #E16246 #46E162
tetradic
#6246E1 #E14677 #C5E146 #46E1B0
square
#6246E1 #E14677 #C5E146 #46E1B0
split-complementary
#6246E1 #E1B046 #77E146
monochromatic
#2F1895 #3F21C9 #6246E1 #8F7BEA #BBAFF2
Accessibility & contrast
On white
6.03
#6246E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#6246E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6246E1
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6246E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6246E1 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005EDE
Tritanopia (blue-blind)
#1F6F8E
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6246e1; /* rgb */ color: rgb(98, 70, 225); /* oklch */ color: oklch(52.1% 0.222 283.9);
Tailwind
colors: {
custom: {
50: '#9b7cec',
500: '#6246e1',
950: '#000000',
},
}SCSS
$custom: #6246e1; $custom-light: #9b7cec; $custom-dark: #000000;
JSON
{
"hex": "#6246e1",
"rgb": {
"r": 98,
"g": 70,
"b": 225
},
"hsl": {
"h": 250.839,
"s": 72.093,
"l": 57.843
},
"oklch": {
"l": 0.52132,
"c": 0.22202,
"h": 283.9
},
"luminance": 0.12413
}Semantic roles & 50–950 ramp
primary
#6246E1
secondary
#D5E0A2
accent
#EF39CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84