#7D2FC5#7D2FC5
#7D2FC5 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.217 H 302.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2FC5 |
|---|---|
| RGB | rgb(125, 47, 197) |
| HSL | hsl(271, 61%, 48%) |
| HSV | hsv(271, 76%, 77%) |
| CMYK | cmyk(36.5%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(38.59, 59.83, -63.98) |
| CIE-LCH | lch(38.59, 87.60, 313.08°) |
| OKLab | oklab(49.77% 0.1169 -0.1825) |
| OKLCH | oklch(49.77% 0.217 302.6) |
| XYZ | xyz(19.5496, 10.4242, 53.7946) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.23
Darkviolet
#9400D3
ΔE00 4.32
Darkorchid
#9932CC
ΔE00 5.25
Burple
#6832E3
ΔE00 5.28
Bluey Purple
#6241C7
ΔE00 5.62
Bluish Purple
#703BE7
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2FC5 #77C52F
analogous
#322FC5 #7D2FC5 #C52FC2
triadic
#7D2FC5 #C57D2F #2FC57D
tetradic
#7D2FC5 #C5322F #77C52F #2FC2C5
square
#7D2FC5 #C5322F #77C52F #2FC2C5
split-complementary
#7D2FC5 #C2C52F #2FC532
monochromatic
#3E1762 #5E2394 #7D2FC5 #9B5AD8 #B98BE3
Accessibility & contrast
On white
6.81
#7D2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7D2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D2FC5
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2FC5 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005AC2
Tritanopia (blue-blind)
#6E5679
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7d2fc5; /* rgb */ color: rgb(125, 47, 197); /* oklch */ color: oklch(49.8% 0.217 302.6);
Tailwind
colors: {
custom: {
50: '#a970d8',
500: '#7d2fc5',
950: '#000000',
},
}SCSS
$custom: #7d2fc5; $custom-light: #a970d8; $custom-dark: #000000;
JSON
{
"hex": "#7d2fc5",
"rgb": {
"r": 125,
"g": 47,
"b": 197
},
"hsl": {
"h": 271.2,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.49769,
"c": 0.21674,
"h": 302.6
},
"luminance": 0.10424
}Semantic roles & 50–950 ramp
primary
#7D2FC5
secondary
#A6CD82
accent
#E54391
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110815
muted
#807B83