#6145CD#6145CD
#6145CD is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.2% C 0.199 H 286.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #6145CD |
|---|---|
| RGB | rgb(97, 69, 205) |
| HSL | hsl(252, 58%, 54%) |
| HSV | hsv(252, 66%, 80%) |
| CMYK | cmyk(52.7%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(39.92, 46.48, -66.59) |
| CIE-LCH | lch(39.92, 81.21, 304.91°) |
| OKLab | oklab(50.21% 0.0557 -0.1912) |
| OKLCH | oklch(50.21% 0.199 286.2) |
| XYZ | xyz(18.0740, 11.2045, 58.9561) |
| Luminance | 0.1120 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 1.37
Blue With A Hint Of Purple
#533CC6
ΔE00 3.19
Blurple
#5539CC
ΔE00 3.32
Purpleish Blue
#6140EF
ΔE00 4.28
Bluish Purple
#703BE7
ΔE00 4.29
Purpley Blue
#5F34E7
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#6145CD #B1CD45
analogous
#456DCD #6145CD #A545CD
triadic
#6145CD #CD6145 #45CD61
tetradic
#6145CD #CD456D #B1CD45 #45CDA5
square
#6145CD #CD456D #B1CD45 #45CDA5
split-complementary
#6145CD #CDA545 #6DCD45
monochromatic
#322077 #462DA8 #6145CD #8A75DA #B3A5E7
Accessibility & contrast
On white
6.48
#6145CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#6145CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #6145CD
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##6145CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##6145CD | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#366783
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #6145cd; /* rgb */ color: rgb(97, 69, 205); /* oklch */ color: oklch(50.2% 0.199 286.2);
Tailwind
colors: {
custom: {
50: '#977bdd',
500: '#6145cd',
950: '#000000',
},
}SCSS
$custom: #6145cd; $custom-light: #977bdd; $custom-dark: #000000;
JSON
{
"hex": "#6145cd",
"rgb": {
"r": 97,
"g": 69,
"b": 205
},
"hsl": {
"h": 252.353,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.50207,
"c": 0.19919,
"h": 286.2
},
"luminance": 0.11205
}Semantic roles & 50–950 ramp
primary
#6145CD
secondary
#C8D49A
accent
#E147C1
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0915
muted
#7E7B83