#6145E6#6145E6
#6145E6 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.229 H 283.0°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #6145E6 |
|---|---|
| RGB | rgb(97, 69, 230) |
| HSL | hsl(250, 76%, 59%) |
| HSV | hsv(250, 70%, 90%) |
| CMYK | cmyk(57.8%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(42.01, 53.81, -77.49) |
| CIE-LCH | lch(42.01, 94.35, 304.78°) |
| OKLab | oklab(52.35% 0.0517 -0.2232) |
| OKLCH | oklch(52.35% 0.229 283) |
| XYZ | xyz(21.3364, 12.5094, 76.1378) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpleish Blue
#6140EF
ΔE00 1.35
Bluish Purple
#703BE7
ΔE00 2.82
Purpley Blue
#5F34E7
ΔE00 3.49
Burple
#6832E3
ΔE00 3.94
Bluey Purple
#6241C7
ΔE00 4.34
Blurple
#5539CC
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6145E6 #CAE645
analogous
#4579E6 #6145E6 #B145E6
triadic
#6145E6 #E66145 #45E661
tetradic
#6145E6 #E64579 #CAE645 #45E6B1
square
#6145E6 #E64579 #CAE645 #45E6B1
split-complementary
#6145E6 #E6B145 #79E645
monochromatic
#2C159C #3C1CD2 #6145E6 #8F7BED #BDB1F5
Accessibility & contrast
On white
6.00
#6145E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#6145E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6145E6
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6145E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6145E6 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#005EE3
Tritanopia (blue-blind)
#0D7091
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #6145e6; /* rgb */ color: rgb(97, 69, 230); /* oklch */ color: oklch(52.4% 0.229 283.0);
Tailwind
colors: {
custom: {
50: '#9b7bef',
500: '#6145e6',
950: '#000000',
},
}SCSS
$custom: #6145e6; $custom-light: #9b7bef; $custom-dark: #000000;
JSON
{
"hex": "#6145e6",
"rgb": {
"r": 97,
"g": 69,
"b": 230
},
"hsl": {
"h": 250.435,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.52351,
"c": 0.22911,
"h": 283
},
"luminance": 0.12511
}Semantic roles & 50–950 ramp
primary
#6145E6
secondary
#D8E3A4
accent
#F335D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0917
muted
#7F7B85