#7D5CCF#7D5CCF
#7D5CCF is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.171 H 293.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CCF |
|---|---|
| RGB | rgb(125, 92, 207) |
| HSL | hsl(257, 55%, 59%) |
| HSV | hsv(257, 56%, 81%) |
| CMYK | cmyk(39.6%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(47.65, 39.67, -55.11) |
| CIE-LCH | lch(47.65, 67.90, 305.75°) |
| OKLab | oklab(56.52% 0.0678 -0.1566) |
| OKLCH | oklch(56.52% 0.171 293.4) |
| XYZ | xyz(23.5441, 16.5187, 60.9673) |
| Luminance | 0.1652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.14
Purpley
#8756E4
ΔE00 3.61
Slate Blue
#6A5ACD
ΔE00 3.69
Dark Periwinkle
#665FD1
ΔE00 4.70
Iris
#6258C4
ΔE00 5.39
Mediumslateblue
#7B68EE
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CCF #AECF5C
analogous
#5C74CF #7D5CCF #B65CCF
triadic
#7D5CCF #CF7D5C #5CCF7D
tetradic
#7D5CCF #CF5C74 #AECF5C #5CCFB6
square
#7D5CCF #CF5C74 #AECF5C #5CCFB6
split-complementary
#7D5CCF #CFB65C #74CF5C
monochromatic
#442888 #5B36B8 #7D5CCF #A38BDD #C8BBEB
Accessibility & contrast
On white
4.88
#7D5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.30
#7D5CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5CCF
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5CCF | 1.00 | 4.88 | 4.30 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2272D3
Deuteranopia (green-blind)
#2C6FCC
Tritanopia (blue-blind)
#68748D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5ccf; /* rgb */ color: rgb(125, 92, 207); /* oklch */ color: oklch(56.5% 0.171 293.4);
Tailwind
colors: {
custom: {
50: '#a78bde',
500: '#7d5ccf',
950: '#000000',
},
}SCSS
$custom: #7d5ccf; $custom-light: #a78bde; $custom-dark: #000000;
JSON
{
"hex": "#7d5ccf",
"rgb": {
"r": 125,
"g": 92,
"b": 207
},
"hsl": {
"h": 257.217,
"s": 54.502,
"l": 58.627
},
"oklch": {
"l": 0.56523,
"c": 0.17061,
"h": 293.4
},
"luminance": 0.16519
}Semantic roles & 50–950 ramp
primary
#7D5CCF
secondary
#CDDAAD
accent
#DE4AB3
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83