#7A5DF3#7A5DF3
#7A5DF3 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.0% C 0.214 H 286.7°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5DF3 |
|---|---|
| RGB | rgb(122, 93, 243) |
| HSL | hsl(252, 86%, 66%) |
| HSV | hsv(252, 62%, 95%) |
| CMYK | cmyk(49.8%, 61.7%, 0%, 4.7%) |
| CIE-LAB | lab(50.02, 48.57, -71.66) |
| CIE-LCH | lch(50.02, 86.56, 304.13°) |
| OKLab | oklab(58.97% 0.0617 -0.2053) |
| OKLCH | oklch(58.97% 0.214 286.7) |
| XYZ | xyz(28.1133, 18.4360, 86.8538) |
| Luminance | 0.1844 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.09
Purpley
#8756E4
ΔE00 3.70
Light Indigo
#6D5ACF
ΔE00 5.63
Dark Periwinkle
#665FD1
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 6.10
Lighter Purple
#A55AF4
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5DF3 #D6F35D
analogous
#5D8BF3 #7A5DF3 #C55DF3
triadic
#7A5DF3 #F37A5D #5DF37A
tetradic
#7A5DF3 #F35D8B #D6F35D #5DF3C5
square
#7A5DF3 #F35D8B #D6F35D #5DF3C5
split-complementary
#7A5DF3 #F3C55D #8BF35D
monochromatic
#320FC7 #4B24EF #7A5DF3 #A996F7 #D8CFFB
Accessibility & contrast
On white
4.48
#7A5DF3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7A5DF3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5DF3
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5DF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5DF3 | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BF8
Deuteranopia (green-blind)
#0073F0
Tritanopia (blue-blind)
#4E819F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7a5df3; /* rgb */ color: rgb(122, 93, 243); /* oklch */ color: oklch(59.0% 0.214 286.7);
Tailwind
colors: {
custom: {
50: '#a98cf8',
500: '#7a5df3',
950: '#000000',
},
}SCSS
$custom: #7a5df3; $custom-light: #a98cf8; $custom-dark: #000000;
JSON
{
"hex": "#7a5df3",
"rgb": {
"r": 122,
"g": 93,
"b": 243
},
"hsl": {
"h": 251.6,
"s": 86.207,
"l": 65.882
},
"oklch": {
"l": 0.58969,
"c": 0.21439,
"h": 286.7
},
"luminance": 0.18437
}Semantic roles & 50–950 ramp
primary
#7A5DF3
secondary
#E5EFBD
accent
#E303B7
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85