#7D45E6#7D45E6
#7D45E6 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 54.9% C 0.228 H 293.4°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7D45E6 |
|---|---|
| RGB | rgb(125, 69, 230) |
| HSL | hsl(261, 76%, 59%) |
| HSV | hsv(261, 70%, 90%) |
| CMYK | cmyk(45.7%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(44.70, 58.14, -72.99) |
| CIE-LCH | lch(44.70, 93.32, 308.54°) |
| OKLab | oklab(54.9% 0.0903 -0.2091) |
| OKLCH | oklch(54.9% 0.228 293.4) |
| XYZ | xyz(24.8646, 14.3286, 76.3032) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.03
Purpleish Blue
#6140EF
ΔE00 4.28
Purpley
#8756E4
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 4.53
Burple
#6832E3
ΔE00 5.28
Purpley Blue
#5F34E7
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D45E6 #AEE645
analogous
#455DE6 #7D45E6 #CE45E6
triadic
#7D45E6 #E67D45 #45E67D
tetradic
#7D45E6 #E6455D #AEE645 #45E6CE
square
#7D45E6 #E6455D #AEE645 #45E6CE
split-complementary
#7D45E6 #E6CE45 #5DE645
monochromatic
#44159C #5B1CD2 #7D45E6 #A37BED #C8B1F5
Accessibility & contrast
On white
5.43
#7D45E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7D45E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D45E6
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D45E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D45E6 | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#0067E3
Tritanopia (blue-blind)
#5E6E91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7d45e6; /* rgb */ color: rgb(125, 69, 230); /* oklch */ color: oklch(54.9% 0.228 293.4);
Tailwind
colors: {
custom: {
50: '#ab7def',
500: '#7d45e6',
950: '#000000',
},
}SCSS
$custom: #7d45e6; $custom-light: #ab7def; $custom-dark: #000000;
JSON
{
"hex": "#7d45e6",
"rgb": {
"r": 125,
"g": 69,
"b": 230
},
"hsl": {
"h": 260.87,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.549,
"c": 0.22777,
"h": 293.4
},
"luminance": 0.14329
}Semantic roles & 50–950 ramp
primary
#7D45E6
secondary
#CDE3A4
accent
#F335B1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A17
muted
#807C85