#7D5CFD#7D5CFD
#7D5CFD is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.227 H 286.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CFD |
|---|---|
| RGB | rgb(125, 92, 253) |
| HSL | hsl(252, 98%, 68%) |
| HSV | hsv(252, 64%, 99%) |
| CMYK | cmyk(50.6%, 63.6%, 0%, 0.8%) |
| CIE-LAB | lab(50.81, 52.50, -75.93) |
| CIE-LCH | lch(50.81, 92.31, 304.66°) |
| OKLab | oklab(59.84% 0.0657 -0.2178) |
| OKLCH | oklch(59.84% 0.227 286.8) |
| XYZ | xyz(30.0090, 19.1046, 95.0158) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.56
Purpley
#8756E4
ΔE00 4.27
Lighter Purple
#A55AF4
ΔE00 6.93
Light Indigo
#6D5ACF
ΔE00 6.96
Dark Periwinkle
#665FD1
ΔE00 7.19
Slate Blue
#6A5ACD
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CFD #DCFD5C
analogous
#5C8CFD #7D5CFD #CD5CFD
triadic
#7D5CFD #FD7D5C #5CFD7D
tetradic
#7D5CFD #FD5C8C #DCFD5C #5CFDCD
square
#7D5CFD #FD5C8C #DCFD5C #5CFDCD
split-complementary
#7D5CFD #FDCD5C #8CFD5C
monochromatic
#2F03DC #4D20FC #7D5CFD #AD98FE #DDD5FE
Accessibility & contrast
On white
4.36
#7D5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#7D5CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CFD
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CFD | 1.00 | 4.36 | 4.82 | 4.82 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0074FA
Tritanopia (blue-blind)
#4D83A4
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7d5cfd; /* rgb */ color: rgb(125, 92, 253); /* oklch */ color: oklch(59.8% 0.227 286.8);
Tailwind
colors: {
custom: {
50: '#ac8cff',
500: '#7d5cfd',
950: '#000000',
},
}SCSS
$custom: #7d5cfd; $custom-light: #ac8cff; $custom-dark: #000000;
JSON
{
"hex": "#7d5cfd",
"rgb": {
"r": 125,
"g": 92,
"b": 253
},
"hsl": {
"h": 252.298,
"s": 97.576,
"l": 67.647
},
"oklch": {
"l": 0.59835,
"c": 0.22748,
"h": 286.8
},
"luminance": 0.19106
}Semantic roles & 50–950 ramp
primary
#7D5CFD
secondary
#E9F3C1
accent
#E600B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86