#7D46AF#7D46AF
#7D46AF is a mid, vivid violet. Relative luminance 0.118; OKLCH L 51.0% C 0.164 H 305.5°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7D46AF |
|---|---|
| RGB | rgb(125, 70, 175) |
| HSL | hsl(271, 43%, 48%) |
| HSV | hsv(271, 60%, 69%) |
| CMYK | cmyk(28.6%, 60%, 0%, 31.4%) |
| CIE-LAB | lab(40.95, 43.67, -47.24) |
| CIE-LCH | lch(40.95, 64.33, 312.75°) |
| OKLab | oklab(50.96% 0.0952 -0.1334) |
| OKLCH | oklch(50.96% 0.164 305.5) |
| XYZ | xyz(18.3838, 11.8356, 41.8651) |
| Luminance | 0.1183 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.36
Purply
#983FB2
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 6.43
Rebeccapurple
#663399
ΔE00 6.80
Bluey Purple
#6241C7
ΔE00 6.96
Deep Lavender
#8D5EB7
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D46AF #78AF46
analogous
#4946AF #7D46AF #AF46AC
triadic
#7D46AF #AF7D46 #46AF7D
tetradic
#7D46AF #AF4946 #78AF46 #46ACAF
square
#7D46AF #AF4946 #78AF46 #46ACAF
split-complementary
#7D46AF #ACAF46 #46AF49
monochromatic
#3F2358 #5E3583 #7D46AF #9B6DC5 #B999D6
Accessibility & contrast
On white
6.24
#7D46AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#7D46AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D46AF
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D46AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D46AF | 1.00 | 6.24 | 3.37 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#165FB2
Deuteranopia (green-blind)
#3161AD
Tritanopia (blue-blind)
#745B74
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #7d46af; /* rgb */ color: rgb(125, 70, 175); /* oklch */ color: oklch(51.0% 0.164 305.5);
Tailwind
colors: {
custom: {
50: '#a67cc7',
500: '#7d46af',
950: '#000000',
},
}SCSS
$custom: #7d46af; $custom-light: #a67cc7; $custom-dark: #000000;
JSON
{
"hex": "#7d46af",
"rgb": {
"r": 125,
"g": 70,
"b": 175
},
"hsl": {
"h": 271.429,
"s": 42.857,
"l": 48.039
},
"oklch": {
"l": 0.50964,
"c": 0.16388,
"h": 305.5
},
"luminance": 0.11835
}Semantic roles & 50–950 ramp
primary
#7D46AF
secondary
#A7C28E
accent
#D35591
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100A13
muted
#7F7C82