#7D2CAC#7D2CAC
#7D2CAC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.5% C 0.195 H 309.7°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2CAC |
|---|---|
| RGB | rgb(125, 44, 172) |
| HSL | hsl(278, 59%, 42%) |
| HSV | hsv(278, 74%, 67%) |
| CMYK | cmyk(27.3%, 74.4%, 0%, 32.5%) |
| CIE-LAB | lab(36.25, 55.39, -53.03) |
| CIE-LCH | lch(36.25, 76.68, 316.25°) |
| OKLab | oklab(47.52% 0.1248 -0.1503) |
| OKLCH | oklch(47.52% 0.195 309.7) |
| XYZ | xyz(16.8030, 9.1402, 39.9008) |
| Luminance | 0.0914 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.41
Rebeccapurple
#663399
ΔE00 4.74
Darkviolet
#9400D3
ΔE00 6.07
Darkorchid
#9932CC
ΔE00 6.77
Purply
#983FB2
ΔE00 7.01
Blueviolet
#8A2BE2
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2CAC #5BAC2C
analogous
#3D2CAC #7D2CAC #AC2C9B
triadic
#7D2CAC #AC7D2C #2CAC7D
tetradic
#7D2CAC #AC3D2C #5BAC2C #2C9BAC
square
#7D2CAC #AC3D2C #5BAC2C #2C9BAC
split-complementary
#7D2CAC #9BAC2C #2CAC3D
monochromatic
#36134B #5A207B #7D2CAC #9D46D0 #B776DC
Accessibility & contrast
On white
7.43
#7D2CAC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#7D2CAC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2CAC
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2CAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2CAC | 1.00 | 7.43 | 2.83 | 7.43 |
| #FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0052B0
Deuteranopia (green-blind)
#0A56A9
Tritanopia (blue-blind)
#764A6A
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7d2cac; /* rgb */ color: rgb(125, 44, 172); /* oklch */ color: oklch(47.5% 0.195 309.7);
Tailwind
colors: {
custom: {
50: '#a76dc5',
500: '#7d2cac',
950: '#000000',
},
}SCSS
$custom: #7d2cac; $custom-light: #a76dc5; $custom-dark: #000000;
JSON
{
"hex": "#7d2cac",
"rgb": {
"r": 125,
"g": 44,
"b": 172
},
"hsl": {
"h": 277.969,
"s": 59.259,
"l": 42.353
},
"oklch": {
"l": 0.47521,
"c": 0.19537,
"h": 309.7
},
"luminance": 0.0914
}Semantic roles & 50–950 ramp
primary
#7D2CAC
secondary
#8FC470
accent
#E2457F
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82