#7D5CDC#7D5CDC
#7D5CDC is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.4% C 0.187 H 291.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CDC |
|---|---|
| RGB | rgb(125, 92, 220) |
| HSL | hsl(255, 65%, 61%) |
| HSV | hsv(255, 58%, 86%) |
| CMYK | cmyk(43.2%, 58.2%, 0%, 13.7%) |
| CIE-LAB | lab(48.49, 43.25, -61.17) |
| CIE-LCH | lch(48.49, 74.91, 305.26°) |
| OKLab | oklab(57.41% 0.0678 -0.1744) |
| OKLCH | oklch(57.41% 0.187 291.2) |
| XYZ | xyz(25.1993, 17.1808, 69.6848) |
| Luminance | 0.1718 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.45
Light Indigo
#6D5ACF
ΔE00 3.47
Slate Blue
#6A5ACD
ΔE00 4.07
Mediumslateblue
#7B68EE
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.64
Iris
#6258C4
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CDC #BBDC5C
analogous
#5C7BDC #7D5CDC #BD5CDC
triadic
#7D5CDC #DC7D5C #5CDC7D
tetradic
#7D5CDC #DC5C7B #BBDC5C #5CDCBD
square
#7D5CDC #DC5C7B #BBDC5C #5CDCBD
split-complementary
#7D5CDC #DCBD5C #7BDC5C
monochromatic
#41229C #562CCE #7D5CDC #A58EE7 #CDC1F2
Accessibility & contrast
On white
4.73
#7D5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7D5CDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CDC
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CDC | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#0E70D9
Tritanopia (blue-blind)
#627893
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d5cdc; /* rgb */ color: rgb(125, 92, 220); /* oklch */ color: oklch(57.4% 0.187 291.2);
Tailwind
colors: {
custom: {
50: '#a98be8',
500: '#7d5cdc',
950: '#000000',
},
}SCSS
$custom: #7d5cdc; $custom-light: #a98be8; $custom-dark: #000000;
JSON
{
"hex": "#7d5cdc",
"rgb": {
"r": 125,
"g": 92,
"b": 220
},
"hsl": {
"h": 255.469,
"s": 64.646,
"l": 61.176
},
"oklch": {
"l": 0.57409,
"c": 0.1871,
"h": 291.2
},
"luminance": 0.17182
}Semantic roles & 50–950 ramp
primary
#7D5CDC
secondary
#D6E2B2
accent
#CC199E
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84