#7A45BB#7A45BB
#7A45BB is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.3% C 0.179 H 300.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #7A45BB |
|---|---|
| RGB | rgb(122, 69, 187) |
| HSL | hsl(267, 46%, 50%) |
| HSV | hsv(267, 63%, 73%) |
| CMYK | cmyk(34.8%, 63.1%, 0%, 26.7%) |
| CIE-LAB | lab(41.19, 46.48, -53.94) |
| CIE-LCH | lch(41.19, 71.21, 310.75°) |
| OKLab | oklab(51.31% 0.0919 -0.1532) |
| OKLCH | oklch(51.31% 0.179 300.9) |
| XYZ | xyz(19.1217, 11.9816, 48.3093) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.57
Bluey Purple
#6241C7
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 6.03
Blueviolet
#8A2BE2
ΔE00 6.44
Bluish Purple
#703BE7
ΔE00 6.58
Purply
#983FB2
ΔE00 6.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A45BB #86BB45
analogous
#454BBB #7A45BB #B545BB
triadic
#7A45BB #BB7A45 #45BB7A
tetradic
#7A45BB #BB454B #86BB45 #45BBB5
square
#7A45BB #BB454B #86BB45 #45BBB5
split-complementary
#7A45BB #BBB545 #4BBB45
monochromatic
#402462 #5D348F #7A45BB #9A72CB #BA9FDC
Accessibility & contrast
On white
6.18
#7A45BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#7A45BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A45BB
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A45BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A45BB | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1860B8
Tritanopia (blue-blind)
#6C5F7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7a45bb; /* rgb */ color: rgb(122, 69, 187); /* oklch */ color: oklch(51.3% 0.179 300.9);
Tailwind
colors: {
custom: {
50: '#a57cd0',
500: '#7a45bb',
950: '#000000',
},
}SCSS
$custom: #7a45bb; $custom-light: #a57cd0; $custom-dark: #000000;
JSON
{
"hex": "#7a45bb",
"rgb": {
"r": 122,
"g": 69,
"b": 187
},
"hsl": {
"h": 266.949,
"s": 46.457,
"l": 50.196
},
"oklch": {
"l": 0.51306,
"c": 0.17865,
"h": 300.9
},
"luminance": 0.11982
}Semantic roles & 50–950 ramp
primary
#7A45BB
secondary
#B1C894
accent
#D6529B
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82