#7D5FC2#7D5FC2
#7D5FC2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.149 H 295.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7D5FC2 |
|---|---|
| RGB | rgb(125, 95, 194) |
| HSL | hsl(258, 45%, 57%) |
| HSV | hsv(258, 51%, 76%) |
| CMYK | cmyk(35.6%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(47.55, 34.41, -47.79) |
| CIE-LCH | lch(47.55, 58.89, 305.75°) |
| OKLab | oklab(56.19% 0.0634 -0.1351) |
| OKLCH | oklch(56.19% 0.149 295.1) |
| XYZ | xyz(22.2848, 16.4390, 53.0274) |
| Luminance | 0.1644 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.33
Deep Lavender
#8D5EB7
ΔE00 4.65
Slate Blue
#6A5ACD
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 5.54
Purpley
#8756E4
ΔE00 5.70
Iris
#6258C4
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D5FC2 #A4C25F
analogous
#5F73C2 #7D5FC2 #AF5FC2
triadic
#7D5FC2 #C27D5F #5FC27D
tetradic
#7D5FC2 #C25F73 #A4C25F #5FC2AF
square
#7D5FC2 #C25F73 #A4C25F #5FC2AF
split-complementary
#7D5FC2 #C2AF5F #73C25F
monochromatic
#452E79 #5E3FA5 #7D5FC2 #A18BD3 #C5B8E4
Accessibility & contrast
On white
4.90
#7D5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7D5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D5FC2
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D5FC2 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3972C5
Deuteranopia (green-blind)
#406FC0
Tritanopia (blue-blind)
#6D7387
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7d5fc2; /* rgb */ color: rgb(125, 95, 194); /* oklch */ color: oklch(56.2% 0.149 295.1);
Tailwind
colors: {
custom: {
50: '#a68dd5',
500: '#7d5fc2',
950: '#000000',
},
}SCSS
$custom: #7d5fc2; $custom-light: #a68dd5; $custom-dark: #000000;
JSON
{
"hex": "#7d5fc2",
"rgb": {
"r": 125,
"g": 95,
"b": 194
},
"hsl": {
"h": 258.182,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.56195,
"c": 0.14923,
"h": 295.1
},
"luminance": 0.16439
}Semantic roles & 50–950 ramp
primary
#7D5FC2
secondary
#C6D3AA
accent
#D453AD
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83