#6245E2#6245E2
#6245E2 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.1% C 0.224 H 283.9°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).
Color values
| HEX | #6245E2 |
|---|---|
| RGB | rgb(98, 69, 226) |
| HSL | hsl(251, 73%, 58%) |
| HSV | hsv(251, 69%, 89%) |
| CMYK | cmyk(56.6%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(41.76, 52.79, -75.64) |
| CIE-LCH | lch(41.76, 92.24, 304.91°) |
| OKLab | oklab(52.08% 0.0538 -0.2177) |
| OKLCH | oklch(52.08% 0.224 283.9) |
| XYZ | xyz(20.8884, 12.3426, 73.2184) |
| Luminance | 0.1234 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.71
Bluish Purple
#703BE7
ΔE00 2.77
Purpley Blue
#5F34E7
ΔE00 3.44
Burple
#6832E3
ΔE00 3.81
Bluey Purple
#6241C7
ΔE00 3.85
Blurple
#5539CC
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6245E2 #C5E245
analogous
#4576E2 #6245E2 #B145E2
triadic
#6245E2 #E26245 #45E262
tetradic
#6245E2 #E24576 #C5E245 #45E2B1
square
#6245E2 #E24576 #C5E245 #45E2B1
split-complementary
#6245E2 #E2B145 #76E245
monochromatic
#2F1795 #3F20CA #6245E2 #8F7AEA #BBAFF3
Accessibility & contrast
On white
6.05
#6245E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#6245E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6245E2
6.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6245E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6245E2 | 1.00 | 6.05 | 3.47 | 6.05 |
| #FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E7
Deuteranopia (green-blind)
#005DDF
Tritanopia (blue-blind)
#1E6F8F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #6245e2; /* rgb */ color: rgb(98, 69, 226); /* oklch */ color: oklch(52.1% 0.224 283.9);
Tailwind
colors: {
custom: {
50: '#9b7bec',
500: '#6245e2',
950: '#000000',
},
}SCSS
$custom: #6245e2; $custom-light: #9b7bec; $custom-dark: #000000;
JSON
{
"hex": "#6245e2",
"rgb": {
"r": 98,
"g": 69,
"b": 226
},
"hsl": {
"h": 251.083,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.52081,
"c": 0.22429,
"h": 283.9
},
"luminance": 0.12344
}Semantic roles & 50–950 ramp
primary
#6245E2
secondary
#D5E1A2
accent
#F038CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0916
muted
#7F7B84