#7D2FAF#7D2FAF
#7D2FAF is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.1% C 0.195 H 308.5°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2FAF |
|---|---|
| RGB | rgb(125, 47, 175) |
| HSL | hsl(277, 58%, 44%) |
| HSV | hsv(277, 73%, 69%) |
| CMYK | cmyk(28.6%, 73.1%, 0%, 31.4%) |
| CIE-LAB | lab(36.91, 54.82, -53.76) |
| CIE-LCH | lch(36.91, 76.78, 315.56°) |
| OKLab | oklab(48.05% 0.1214 -0.1525) |
| OKLCH | oklch(48.05% 0.195 308.5) |
| XYZ | xyz(17.2102, 9.4884, 41.4739) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.11
Rebeccapurple
#663399
ΔE00 4.90
Darkviolet
#9400D3
ΔE00 5.87
Darkorchid
#9932CC
ΔE00 6.32
Purply
#983FB2
ΔE00 6.73
Blueviolet
#8A2BE2
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2FAF #61AF2F
analogous
#3D2FAF #7D2FAF #AF2FA1
triadic
#7D2FAF #AF7D2F #2FAF7D
tetradic
#7D2FAF #AF3D2F #61AF2F #2FA1AF
square
#7D2FAF #AF3D2F #61AF2F #2FA1AF
split-complementary
#7D2FAF #A1AF2F #2FAF3D
monochromatic
#38154F #5B227F #7D2FAF #9C4CCF #B77CDC
Accessibility & contrast
On white
7.25
#7D2FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#7D2FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D2FAF
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2FAF | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0758AC
Tritanopia (blue-blind)
#754D6C
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7d2faf; /* rgb */ color: rgb(125, 47, 175); /* oklch */ color: oklch(48.1% 0.195 308.5);
Tailwind
colors: {
custom: {
50: '#a76fc8',
500: '#7d2faf',
950: '#000000',
},
}SCSS
$custom: #7d2faf; $custom-light: #a76fc8; $custom-dark: #000000;
JSON
{
"hex": "#7d2faf",
"rgb": {
"r": 125,
"g": 47,
"b": 175
},
"hsl": {
"h": 276.563,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.48054,
"c": 0.19488,
"h": 308.5
},
"luminance": 0.09488
}Semantic roles & 50–950 ramp
primary
#7D2FAF
secondary
#94C475
accent
#E14783
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82