#6145B9#6145B9
#6145B9 is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.6% C 0.174 H 289.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #6145B9 |
|---|---|
| RGB | rgb(97, 69, 185) |
| HSL | hsl(254, 46%, 50%) |
| HSV | hsv(254, 63%, 73%) |
| CMYK | cmyk(47.6%, 62.7%, 0%, 27.5%) |
| CIE-LAB | lab(38.38, 40.62, -57.45) |
| CIE-LCH | lch(38.38, 70.36, 305.26°) |
| OKLab | oklab(48.6% 0.0579 -0.1643) |
| OKLCH | oklch(48.6% 0.174 289.4) |
| XYZ | xyz(15.8123, 10.2998, 47.0444) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.23
Ocean Blue
#4F42B5
ΔE00 3.12
Blue With A Hint Of Purple
#533CC6
ΔE00 3.57
Blurple
#5539CC
ΔE00 4.21
Iris
#6258C4
ΔE00 5.79
Burple
#6832E3
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6145B9 #9DB945
analogous
#4563B9 #6145B9 #9B45B9
triadic
#6145B9 #B96145 #45B961
tetradic
#6145B9 #B94563 #9DB945 #45B99B
square
#6145B9 #B94563 #9DB945 #45B99B
split-complementary
#6145B9 #B99B45 #63B945
monochromatic
#322460 #4A348C #6145B9 #8771CA #AC9EDB
Accessibility & contrast
On white
6.86
#6145B9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#6145B9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6145B9
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6145B9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6145B9 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#0058B7
Tritanopia (blue-blind)
#456078
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #6145b9; /* rgb */ color: rgb(97, 69, 185); /* oklch */ color: oklch(48.6% 0.174 289.4);
Tailwind
colors: {
custom: {
50: '#957acf',
500: '#6145b9',
950: '#000000',
},
}SCSS
$custom: #6145b9; $custom-light: #957acf; $custom-dark: #000000;
JSON
{
"hex": "#6145b9",
"rgb": {
"r": 97,
"g": 69,
"b": 185
},
"hsl": {
"h": 254.483,
"s": 45.669,
"l": 49.804
},
"oklch": {
"l": 0.48602,
"c": 0.17424,
"h": 289.4
},
"luminance": 0.103
}Semantic roles & 50–950 ramp
primary
#6145B9
secondary
#BAC793
accent
#D552B6
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0914
muted
#7E7B82