#7A5FDC#7A5FDC
#7A5FDC is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.6% C 0.183 H 289.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5FDC |
|---|---|
| RGB | rgb(122, 95, 220) |
| HSL | hsl(253, 64%, 62%) |
| HSV | hsv(253, 57%, 86%) |
| CMYK | cmyk(44.5%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(48.87, 40.89, -60.57) |
| CIE-LCH | lch(48.87, 73.08, 304.02°) |
| OKLab | oklab(57.62% 0.0605 -0.1727) |
| OKLCH | oklch(57.62% 0.183 289.3) |
| XYZ | xyz(25.0329, 17.4884, 69.7529) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.32
Purpley
#8756E4
ΔE00 3.38
Slate Blue
#6A5ACD
ΔE00 3.86
Mediumslateblue
#7B68EE
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 4.00
Iris
#6258C4
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5FDC #C1DC5F
analogous
#5F83DC #7A5FDC #B95FDC
triadic
#7A5FDC #DC7A5F #5FDC7A
tetradic
#7A5FDC #DC5F83 #C1DC5F #5FDCB9
square
#7A5FDC #DC5F83 #C1DC5F #5FDCB9
split-complementary
#7A5FDC #DCB95F #83DC5F
monochromatic
#3D239E #512ED0 #7A5FDC #A491E7 #CDC3F2
Accessibility & contrast
On white
4.67
#7A5FDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#7A5FDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A5FDC
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5FDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A5FDC | 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)
#0B77E0
Deuteranopia (green-blind)
#1471D9
Tritanopia (blue-blind)
#5C7B94
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7a5fdc; /* rgb */ color: rgb(122, 95, 220); /* oklch */ color: oklch(57.6% 0.183 289.3);
Tailwind
colors: {
custom: {
50: '#a78de8',
500: '#7a5fdc',
950: '#000000',
},
}SCSS
$custom: #7a5fdc; $custom-light: #a78de8; $custom-dark: #000000;
JSON
{
"hex": "#7a5fdc",
"rgb": {
"r": 122,
"g": 95,
"b": 220
},
"hsl": {
"h": 252.96,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.57624,
"c": 0.18299,
"h": 289.3
},
"luminance": 0.17489
}Semantic roles & 50–950 ramp
primary
#7A5FDC
secondary
#D9E3B4
accent
#CC1AA5
background
#FAF8FE
surface
#F4F0FD
border
#CECBD5
text
#100C16
muted
#7F7D84