#7D2CB2#7D2CB2
#7D2CB2 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.201 H 307.9°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2CB2 |
|---|---|
| RGB | rgb(125, 44, 178) |
| HSL | hsl(276, 60%, 44%) |
| HSV | hsv(276, 75%, 70%) |
| CMYK | cmyk(29.8%, 75.3%, 0%, 30.2%) |
| CIE-LAB | lab(36.70, 56.72, -55.88) |
| CIE-LCH | lch(36.70, 79.62, 315.42°) |
| OKLab | oklab(47.98% 0.1237 -0.1587) |
| OKLCH | oklch(47.98% 0.201 307.9) |
| XYZ | xyz(17.3923, 9.3760, 43.0044) |
| Luminance | 0.0938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.23
Rebeccapurple
#663399
ΔE00 5.17
Darkviolet
#9400D3
ΔE00 5.42
Darkorchid
#9932CC
ΔE00 6.28
Blueviolet
#8A2BE2
ΔE00 6.88
Purply
#983FB2
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2CB2 #61B22C
analogous
#3A2CB2 #7D2CB2 #B22CA4
triadic
#7D2CB2 #B27D2C #2CB27D
tetradic
#7D2CB2 #B23A2C #61B22C #2CA4B2
square
#7D2CB2 #B23A2C #61B22C #2CA4B2
split-complementary
#7D2CB2 #A4B22C #2CB23A
monochromatic
#381450 #5B2081 #7D2CB2 #9C49D2 #B77ADE
Accessibility & contrast
On white
7.30
#7D2CB2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#7D2CB2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2CB2
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2CB2 | 1.00 | 7.30 | 2.88 | 7.30 |
| #FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0057AF
Tritanopia (blue-blind)
#744C6D
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7d2cb2; /* rgb */ color: rgb(125, 44, 178); /* oklch */ color: oklch(48.0% 0.201 307.9);
Tailwind
colors: {
custom: {
50: '#a86eca',
500: '#7d2cb2',
950: '#000000',
},
}SCSS
$custom: #7d2cb2; $custom-light: #a86eca; $custom-dark: #000000;
JSON
{
"hex": "#7d2cb2",
"rgb": {
"r": 125,
"g": 44,
"b": 178
},
"hsl": {
"h": 276.269,
"s": 60.36,
"l": 43.529
},
"oklch": {
"l": 0.47976,
"c": 0.20121,
"h": 307.9
},
"luminance": 0.09376
}Semantic roles & 50–950 ramp
primary
#7D2CB2
secondary
#94C673
accent
#E44483
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82