#7C45CB#7C45CB
#7C45CB is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.7% C 0.197 H 298.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7C45CB |
|---|---|
| RGB | rgb(124, 69, 203) |
| HSL | hsl(265, 56%, 53%) |
| HSV | hsv(265, 66%, 80%) |
| CMYK | cmyk(38.9%, 66%, 0%, 20.4%) |
| CIE-LAB | lab(42.54, 50.98, -61.06) |
| CIE-LCH | lch(42.54, 79.54, 309.86°) |
| OKLab | oklab(52.69% 0.0931 -0.1741) |
| OKLCH | oklch(52.69% 0.197 298.1) |
| XYZ | xyz(21.2171, 12.8528, 57.8513) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.56
Bluey Purple
#6241C7
ΔE00 4.64
Blueviolet
#8A2BE2
ΔE00 4.86
Darkorchid
#9932CC
ΔE00 5.63
Burple
#6832E3
ΔE00 5.74
Purpley
#8756E4
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C45CB #94CB45
analogous
#4551CB #7C45CB #BF45CB
triadic
#7C45CB #CB7C45 #45CB7C
tetradic
#7C45CB #CB4551 #94CB45 #45CBBF
square
#7C45CB #CB4551 #94CB45 #45CBBF
split-complementary
#7C45CB #CBBF45 #51CB45
monochromatic
#432175 #5F2EA5 #7C45CB #9E75D8 #BFA5E6
Accessibility & contrast
On white
5.88
#7C45CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#7C45CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C45CB
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C45CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C45CB | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065CF
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#696482
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #7c45cb; /* rgb */ color: rgb(124, 69, 203); /* oklch */ color: oklch(52.7% 0.197 298.1);
Tailwind
colors: {
custom: {
50: '#a87cdc',
500: '#7c45cb',
950: '#000000',
},
}SCSS
$custom: #7c45cb; $custom-light: #a87cdc; $custom-dark: #000000;
JSON
{
"hex": "#7c45cb",
"rgb": {
"r": 124,
"g": 69,
"b": 203
},
"hsl": {
"h": 264.627,
"s": 56.303,
"l": 53.333
},
"oklch": {
"l": 0.5269,
"c": 0.19739,
"h": 298.1
},
"luminance": 0.12853
}Semantic roles & 50–950 ramp
primary
#7C45CB
secondary
#BBD399
accent
#E048A1
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83