#7D5FCF#7D5FCF
#7D5FCF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.0% C 0.166 H 292.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FCF |
|---|---|
| RGB | rgb(125, 95, 207) |
| HSL | hsl(256, 54%, 59%) |
| HSV | hsv(256, 54%, 81%) |
| CMYK | cmyk(39.6%, 54.1%, 0%, 18.8%) |
| CIE-LAB | lab(48.32, 37.94, -54.03) |
| CIE-LCH | lch(48.32, 66.02, 305.08°) |
| OKLab | oklab(57.02% 0.0642 -0.1534) |
| OKLCH | oklch(57.02% 0.166 292.7) |
| XYZ | xyz(23.8091, 17.0488, 61.0557) |
| Luminance | 0.1705 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.89
Purpley
#8756E4
ΔE00 4.01
Dark Periwinkle
#665FD1
ΔE00 4.54
Mediumslateblue
#7B68EE
ΔE00 5.54
Iris
#6258C4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FCF #B1CF5F
analogous
#5F79CF #7D5FCF #B55FCF
triadic
#7D5FCF #CF7D5F #5FCF7D
tetradic
#7D5FCF #CF5F79 #B1CF5F #5FCFB5
square
#7D5FCF #CF5F79 #B1CF5F #5FCFB5
split-complementary
#7D5FCF #CFB55F #79CF5F
monochromatic
#43298A #5A38B9 #7D5FCF #A38EDD #CABDEB
Accessibility & contrast
On white
4.76
#7D5FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.41
#7D5FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5FCF
4.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5FCF | 1.00 | 4.76 | 4.41 | 4.76 |
| #FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#68768E
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d5fcf; /* rgb */ color: rgb(125, 95, 207); /* oklch */ color: oklch(57.0% 0.166 292.7);
Tailwind
colors: {
custom: {
50: '#a78dde',
500: '#7d5fcf',
950: '#000000',
},
}SCSS
$custom: #7d5fcf; $custom-light: #a78dde; $custom-dark: #000000;
JSON
{
"hex": "#7d5fcf",
"rgb": {
"r": 125,
"g": 95,
"b": 207
},
"hsl": {
"h": 256.071,
"s": 53.846,
"l": 59.216
},
"oklch": {
"l": 0.57021,
"c": 0.16625,
"h": 292.7
},
"luminance": 0.17049
}Semantic roles & 50–950 ramp
primary
#7D5FCF
secondary
#CFDBAF
accent
#DD4BB6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83