#7D45CF#7D45CF
#7D45CF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.1% C 0.202 H 297.7°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7D45CF |
|---|---|
| RGB | rgb(125, 69, 207) |
| HSL | hsl(264, 59%, 54%) |
| HSV | hsv(264, 67%, 81%) |
| CMYK | cmyk(39.6%, 66.7%, 0%, 18.8%) |
| CIE-LAB | lab(42.94, 52.20, -62.70) |
| CIE-LCH | lch(42.94, 81.59, 309.78°) |
| OKLab | oklab(53.1% 0.094 -0.1789) |
| OKLCH | oklch(53.1% 0.202 297.7) |
| XYZ | xyz(21.8452, 13.1209, 60.4010) |
| Luminance | 0.1312 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 4.21
Blueviolet
#8A2BE2
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 4.84
Burple
#6832E3
ΔE00 5.58
Darkorchid
#9932CC
ΔE00 5.59
Purpley
#8756E4
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D45CF #97CF45
analogous
#4552CF #7D45CF #C245CF
triadic
#7D45CF #CF7D45 #45CF7D
tetradic
#7D45CF #CF4552 #97CF45 #45CFC2
square
#7D45CF #CF4552 #97CF45 #45CFC2
split-complementary
#7D45CF #CFC245 #52CF45
monochromatic
#44207A #5F2CAB #7D45CF #9F76DC #C1A6E8
Accessibility & contrast
On white
5.79
#7D45CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#7D45CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D45CF
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D45CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D45CF | 1.00 | 5.79 | 3.62 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D3
Deuteranopia (green-blind)
#0064CC
Tritanopia (blue-blind)
#696584
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #7d45cf; /* rgb */ color: rgb(125, 69, 207); /* oklch */ color: oklch(53.1% 0.202 297.7);
Tailwind
colors: {
custom: {
50: '#a97cdf',
500: '#7d45cf',
950: '#000000',
},
}SCSS
$custom: #7d45cf; $custom-light: #a97cdf; $custom-dark: #000000;
JSON
{
"hex": "#7d45cf",
"rgb": {
"r": 125,
"g": 69,
"b": 207
},
"hsl": {
"h": 264.348,
"s": 58.974,
"l": 54.118
},
"oklch": {
"l": 0.53098,
"c": 0.20206,
"h": 297.7
},
"luminance": 0.13121
}Semantic roles & 50–950 ramp
primary
#7D45CF
secondary
#BDD59B
accent
#E246A3
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83