#7D5CF5#7D5CF5
#7D5CF5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.2% C 0.218 H 287.7°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5CF5 |
|---|---|
| RGB | rgb(125, 92, 245) |
| HSL | hsl(253, 88%, 66%) |
| HSV | hsv(253, 62%, 96%) |
| CMYK | cmyk(49%, 62.4%, 0%, 3.9%) |
| CIE-LAB | lab(50.22, 50.24, -72.43) |
| CIE-LCH | lch(50.22, 88.15, 304.75°) |
| OKLab | oklab(59.23% 0.0664 -0.2075) |
| OKLCH | oklch(59.23% 0.218 287.7) |
| XYZ | xyz(28.7612, 18.6055, 88.4443) |
| Luminance | 0.1861 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.36
Purpley
#8756E4
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 6.02
Dark Periwinkle
#665FD1
ΔE00 6.40
Slate Blue
#6A5ACD
ΔE00 6.52
Lighter Purple
#A55AF4
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5CF5 #D4F55C
analogous
#5C87F5 #7D5CF5 #C95CF5
triadic
#7D5CF5 #F57D5C #5CF57D
tetradic
#7D5CF5 #F55C87 #D4F55C #5CF5C9
square
#7D5CF5 #F55C87 #D4F55C #5CF5C9
split-complementary
#7D5CF5 #F5C95C #87F55C
monochromatic
#350CCA #4F22F1 #7D5CF5 #AB96F9 #D9CFFC
Accessibility & contrast
On white
4.45
#7D5CF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7D5CF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7D5CF5
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5CF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7D5CF5 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BFA
Deuteranopia (green-blind)
#0073F2
Tritanopia (blue-blind)
#5381A0
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7d5cf5; /* rgb */ color: rgb(125, 92, 245); /* oklch */ color: oklch(59.2% 0.218 287.7);
Tailwind
colors: {
custom: {
50: '#ab8cf9',
500: '#7d5cf5',
950: '#000000',
},
}SCSS
$custom: #7d5cf5; $custom-light: #ab8cf9; $custom-dark: #000000;
JSON
{
"hex": "#7d5cf5",
"rgb": {
"r": 125,
"g": 92,
"b": 245
},
"hsl": {
"h": 252.941,
"s": 88.439,
"l": 66.078
},
"oklch": {
"l": 0.59225,
"c": 0.21788,
"h": 287.7
},
"luminance": 0.18607
}Semantic roles & 50–950 ramp
primary
#7D5CF5
secondary
#E5F0BD
accent
#E500B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85