#7145CD#7145CD
#7145CD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.7% C 0.199 H 293.0°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7145CD |
|---|---|
| RGB | rgb(113, 69, 205) |
| HSL | hsl(259, 58%, 54%) |
| HSV | hsv(259, 66%, 80%) |
| CMYK | cmyk(44.9%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(41.49, 49.36, -63.97) |
| CIE-LCH | lch(41.49, 80.80, 307.66°) |
| OKLab | oklab(51.71% 0.0777 -0.183) |
| OKLCH | oklch(51.71% 0.199 293) |
| XYZ | xyz(19.9546, 12.1741, 59.0442) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.81
Bluish Purple
#703BE7
ΔE00 3.66
Burple
#6832E3
ΔE00 4.60
Purpleish Blue
#6140EF
ΔE00 4.86
Purpley Blue
#5F34E7
ΔE00 5.14
Blurple
#5539CC
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7145CD #A1CD45
analogous
#455DCD #7145CD #B545CD
triadic
#7145CD #CD7145 #45CD71
tetradic
#7145CD #CD455D #A1CD45 #45CDB5
square
#7145CD #CD455D #A1CD45 #45CDB5
split-complementary
#7145CD #CDB545 #5DCD45
monochromatic
#3C2077 #552DA8 #7145CD #9675DA #BBA5E7
Accessibility & contrast
On white
6.11
#7145CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7145CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7145CD
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7145CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7145CD | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064D1
Deuteranopia (green-blind)
#005FCA
Tritanopia (blue-blind)
#566683
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7145cd; /* rgb */ color: rgb(113, 69, 205); /* oklch */ color: oklch(51.7% 0.199 293.0);
Tailwind
colors: {
custom: {
50: '#a17bdd',
500: '#7145cd',
950: '#000000',
},
}SCSS
$custom: #7145cd; $custom-light: #a17bdd; $custom-dark: #000000;
JSON
{
"hex": "#7145cd",
"rgb": {
"r": 113,
"g": 69,
"b": 205
},
"hsl": {
"h": 259.412,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.51708,
"c": 0.19881,
"h": 293
},
"luminance": 0.12175
}Semantic roles & 50–950 ramp
primary
#7145CD
secondary
#C1D49A
accent
#E147AF
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83