#7D4FCB#7D4FCB
#7D4FCB is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.2% C 0.184 H 296.9°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7D4FCB |
|---|---|
| RGB | rgb(125, 79, 203) |
| HSL | hsl(262, 54%, 55%) |
| HSV | hsv(262, 61%, 80%) |
| CMYK | cmyk(38.4%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.61, 45.89, -57.70) |
| CIE-LCH | lch(44.61, 73.73, 308.50°) |
| OKLab | oklab(54.21% 0.0833 -0.1642) |
| OKLCH | oklch(54.21% 0.184 296.9) |
| XYZ | xyz(22.0302, 14.2634, 58.0808) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.55
Purpley
#8756E4
ΔE00 4.55
Slate Blue
#6A5ACD
ΔE00 4.95
Royal Purple
#7851A9
ΔE00 5.70
Iris
#6258C4
ΔE00 5.94
Bluish Purple
#703BE7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D4FCB #9DCB4F
analogous
#4F5FCB #7D4FCB #BB4FCB
triadic
#7D4FCB #CB7D4F #4FCB7D
tetradic
#7D4FCB #CB4F5F #9DCB4F #4FCBBB
square
#7D4FCB #CB4F5F #9DCB4F #4FCBBB
split-complementary
#7D4FCB #CBBB4F #5FCB4F
monochromatic
#45247B #5F32AA #7D4FCB #A07ED9 #C3ADE7
Accessibility & contrast
On white
5.45
#7D4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#7D4FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D4FCB
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D4FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D4FCB | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006ACF
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#6A6A86
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7d4fcb; /* rgb */ color: rgb(125, 79, 203); /* oklch */ color: oklch(54.2% 0.184 296.9);
Tailwind
colors: {
custom: {
50: '#a882dc',
500: '#7d4fcb',
950: '#000000',
},
}SCSS
$custom: #7d4fcb; $custom-light: #a882dc; $custom-dark: #000000;
JSON
{
"hex": "#7d4fcb",
"rgb": {
"r": 125,
"g": 79,
"b": 203
},
"hsl": {
"h": 262.258,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.54211,
"c": 0.18412,
"h": 296.9
},
"luminance": 0.14264
}Semantic roles & 50–950 ramp
primary
#7D4FCB
secondary
#C2D5A1
accent
#DE4AA7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83