#7D5FD8#7D5FD8
#7D5FD8 is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.178 H 291.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FD8 |
|---|---|
| RGB | rgb(125, 95, 216) |
| HSL | hsl(255, 61%, 61%) |
| HSV | hsv(255, 56%, 85%) |
| CMYK | cmyk(42.1%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(48.89, 40.43, -58.25) |
| CIE-LCH | lch(48.89, 70.91, 304.76°) |
| OKLab | oklab(57.62% 0.0644 -0.1658) |
| OKLCH | oklch(57.62% 0.178 291.2) |
| XYZ | xyz(24.9409, 17.5015, 67.0165) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.23
Light Indigo
#6D5ACF
ΔE00 3.50
Slate Blue
#6A5ACD
ΔE00 4.06
Mediumslateblue
#7B68EE
ΔE00 4.38
Dark Periwinkle
#665FD1
ΔE00 4.43
Iris
#6258C4
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FD8 #BAD85F
analogous
#5F7DD8 #7D5FD8 #B95FD8
triadic
#7D5FD8 #D87D5F #5FD87D
tetradic
#7D5FD8 #D85F7D #BAD85F #5FD8B9
square
#7D5FD8 #D85F7D #BAD85F #5FD8B9
split-complementary
#7D5FD8 #D8B95F #7DD85F
monochromatic
#412598 #5731C9 #7D5FD8 #A590E4 #CDC1F0
Accessibility & contrast
On white
4.67
#7D5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7D5FD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5FD8
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5FD8 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B76DC
Deuteranopia (green-blind)
#2472D5
Tritanopia (blue-blind)
#637992
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7d5fd8; /* rgb */ color: rgb(125, 95, 216); /* oklch */ color: oklch(57.6% 0.178 291.2);
Tailwind
colors: {
custom: {
50: '#a88de5',
500: '#7d5fd8',
950: '#000000',
},
}SCSS
$custom: #7d5fd8; $custom-light: #a88de5; $custom-dark: #000000;
JSON
{
"hex": "#7d5fd8",
"rgb": {
"r": 125,
"g": 95,
"b": 216
},
"hsl": {
"h": 254.876,
"s": 60.804,
"l": 60.98
},
"oklch": {
"l": 0.57619,
"c": 0.17786,
"h": 291.2
},
"luminance": 0.17502
}Semantic roles & 50–950 ramp
primary
#7D5FD8
secondary
#D5E0B3
accent
#C81D9E
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84