#7D45CD#7D45CD
#7D45CD is a mid, vivid violet. Relative luminance 0.130; OKLCH L 52.9% C 0.200 H 298.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #7D45CD |
|---|---|
| RGB | rgb(125, 69, 205) |
| HSL | hsl(265, 58%, 54%) |
| HSV | hsv(265, 66%, 80%) |
| CMYK | cmyk(39%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(42.80, 51.69, -61.79) |
| CIE-LCH | lch(42.80, 80.56, 309.92°) |
| OKLab | oklab(52.95% 0.0942 -0.1762) |
| OKLCH | oklch(52.95% 0.2 298.1) |
| XYZ | xyz(21.6022, 13.0237, 59.1215) |
| Luminance | 0.1302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.43
Blueviolet
#8A2BE2
ΔE00 4.68
Bluey Purple
#6241C7
ΔE00 4.82
Darkorchid
#9932CC
ΔE00 5.53
Burple
#6832E3
ΔE00 5.71
Purpley
#8756E4
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D45CD #95CD45
analogous
#4551CD #7D45CD #C145CD
triadic
#7D45CD #CD7D45 #45CD7D
tetradic
#7D45CD #CD4551 #95CD45 #45CDC1
square
#7D45CD #CD4551 #95CD45 #45CDC1
split-complementary
#7D45CD #CDC145 #51CD45
monochromatic
#442077 #602DA8 #7D45CD #9F75DA #C0A5E7
Accessibility & contrast
On white
5.83
#7D45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#7D45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D45CD
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D45CD | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#6A6583
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7d45cd; /* rgb */ color: rgb(125, 69, 205); /* oklch */ color: oklch(52.9% 0.200 298.1);
Tailwind
colors: {
custom: {
50: '#a87cdd',
500: '#7d45cd',
950: '#000000',
},
}SCSS
$custom: #7d45cd; $custom-light: #a87cdd; $custom-dark: #000000;
JSON
{
"hex": "#7d45cd",
"rgb": {
"r": 125,
"g": 69,
"b": 205
},
"hsl": {
"h": 264.706,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.52947,
"c": 0.19979,
"h": 298.1
},
"luminance": 0.13024
}Semantic roles & 50–950 ramp
primary
#7D45CD
secondary
#BCD49A
accent
#E147A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83