#7D2DAF#7D2DAF
#7D2DAF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.8% C 0.197 H 308.7°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2DAF |
|---|---|
| RGB | rgb(125, 45, 175) |
| HSL | hsl(277, 59%, 43%) |
| HSV | hsv(277, 74%, 69%) |
| CMYK | cmyk(28.6%, 74.3%, 0%, 31.4%) |
| CIE-LAB | lab(36.62, 55.65, -54.23) |
| CIE-LCH | lch(36.62, 77.70, 315.74°) |
| OKLab | oklab(47.85% 0.1233 -0.1538) |
| OKLCH | oklch(47.85% 0.197 308.7) |
| XYZ | xyz(17.1321, 9.3322, 41.4479) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.91
Rebeccapurple
#663399
ΔE00 4.92
Darkviolet
#9400D3
ΔE00 5.77
Darkorchid
#9932CC
ΔE00 6.45
Purply
#983FB2
ΔE00 6.94
Blueviolet
#8A2BE2
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2DAF #5FAF2D
analogous
#3C2DAF #7D2DAF #AF2DA0
triadic
#7D2DAF #AF7D2D #2DAF7D
tetradic
#7D2DAF #AF3C2D #5FAF2D #2DA0AF
square
#7D2DAF #AF3C2D #5FAF2D #2DA0AF
split-complementary
#7D2DAF #A0AF2D #2DAF3C
monochromatic
#37144E #5A207E #7D2DAF #9C49D0 #B77ADD
Accessibility & contrast
On white
7.33
#7D2DAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7D2DAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2DAF
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2DAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2DAF | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0157AC
Tritanopia (blue-blind)
#754C6C
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7d2daf; /* rgb */ color: rgb(125, 45, 175); /* oklch */ color: oklch(47.8% 0.197 308.7);
Tailwind
colors: {
custom: {
50: '#a76ec8',
500: '#7d2daf',
950: '#000000',
},
}SCSS
$custom: #7d2daf; $custom-light: #a76ec8; $custom-dark: #000000;
JSON
{
"hex": "#7d2daf",
"rgb": {
"r": 125,
"g": 45,
"b": 175
},
"hsl": {
"h": 276.923,
"s": 59.091,
"l": 43.137
},
"oklch": {
"l": 0.47847,
"c": 0.19717,
"h": 308.7
},
"luminance": 0.09332
}Semantic roles & 50–950 ramp
primary
#7D2DAF
secondary
#92C573
accent
#E24682
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82