#7C45CD#7C45CD
#7C45CD is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.8% C 0.200 H 297.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7C45CD |
|---|---|
| RGB | rgb(124, 69, 205) |
| HSL | hsl(264, 58%, 54%) |
| HSV | hsv(264, 66%, 80%) |
| CMYK | cmyk(39.5%, 66.3%, 0%, 19.6%) |
| CIE-LAB | lab(42.69, 51.49, -61.98) |
| CIE-LCH | lch(42.69, 80.57, 309.72°) |
| OKLab | oklab(52.84% 0.0929 -0.1768) |
| OKLCH | oklch(52.84% 0.2 297.7) |
| XYZ | xyz(21.4569, 12.9488, 59.1147) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.33
Bluey Purple
#6241C7
ΔE00 4.64
Blueviolet
#8A2BE2
ΔE00 4.73
Burple
#6832E3
ΔE00 5.59
Darkorchid
#9932CC
ΔE00 5.68
Purpleish Blue
#6140EF
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C45CD #96CD45
analogous
#4552CD #7C45CD #C045CD
triadic
#7C45CD #CD7C45 #45CD7C
tetradic
#7C45CD #CD4552 #96CD45 #45CDC0
square
#7C45CD #CD4552 #96CD45 #45CDC0
split-complementary
#7C45CD #CDC045 #52CD45
monochromatic
#432077 #5F2DA8 #7C45CD #9E75DA #C0A5E7
Accessibility & contrast
On white
5.85
#7C45CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#7C45CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C45CD
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C45CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C45CD | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065D1
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#686583
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7c45cd; /* rgb */ color: rgb(124, 69, 205); /* oklch */ color: oklch(52.8% 0.200 297.7);
Tailwind
colors: {
custom: {
50: '#a87cdd',
500: '#7c45cd',
950: '#000000',
},
}SCSS
$custom: #7c45cd; $custom-light: #a87cdd; $custom-dark: #000000;
JSON
{
"hex": "#7c45cd",
"rgb": {
"r": 124,
"g": 69,
"b": 205
},
"hsl": {
"h": 264.265,
"s": 57.627,
"l": 53.725
},
"oklch": {
"l": 0.5284,
"c": 0.19967,
"h": 297.7
},
"luminance": 0.12949
}Semantic roles & 50–950 ramp
primary
#7C45CD
secondary
#BCD49A
accent
#E147A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83