#7A5FFB#7A5FFB
#7A5FFB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.222 H 285.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7A5FFB |
|---|---|
| RGB | rgb(122, 95, 251) |
| HSL | hsl(250, 95%, 68%) |
| HSV | hsv(250, 62%, 98%) |
| CMYK | cmyk(51.4%, 62.2%, 0%, 1.6%) |
| CIE-LAB | lab(51.02, 49.75, -74.49) |
| CIE-LCH | lch(51.02, 89.58, 303.74°) |
| OKLab | oklab(59.88% 0.0592 -0.2136) |
| OKLCH | oklch(59.88% 0.222 285.5) |
| XYZ | xyz(29.5256, 19.2855, 93.4148) |
| Luminance | 0.1929 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.80
Purpley
#8756E4
ΔE00 4.72
Dark Periwinkle
#665FD1
ΔE00 6.75
Light Indigo
#6D5ACF
ΔE00 6.77
Slate Blue
#6A5ACD
ΔE00 7.21
Lighter Purple
#A55AF4
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A5FFB #E0FB5F
analogous
#5F92FB #7A5FFB #C85FFB
triadic
#7A5FFB #FB7A5F #5FFB7A
tetradic
#7A5FFB #FB5F92 #E0FB5F #5FFBC8
square
#7A5FFB #FB5F92 #E0FB5F #5FFBC8
split-complementary
#7A5FFB #FBC85F #92FB5F
monochromatic
#2A05DA #4823FA #7A5FFB #AC9BFC #DDD6FE
Accessibility & contrast
On white
4.32
#7A5FFB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.86
#7A5FFB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A5FFB
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A5FFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A5FFB | 1.00 | 4.32 | 4.86 | 4.86 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007EFF
Deuteranopia (green-blind)
#0075F8
Tritanopia (blue-blind)
#4785A4
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7a5ffb; /* rgb */ color: rgb(122, 95, 251); /* oklch */ color: oklch(59.9% 0.222 285.5);
Tailwind
colors: {
custom: {
50: '#aa8efe',
500: '#7a5ffb',
950: '#000000',
},
}SCSS
$custom: #7a5ffb; $custom-light: #aa8efe; $custom-dark: #000000;
JSON
{
"hex": "#7a5ffb",
"rgb": {
"r": 122,
"g": 95,
"b": 251
},
"hsl": {
"h": 250.385,
"s": 95.122,
"l": 67.843
},
"oklch": {
"l": 0.59878,
"c": 0.22169,
"h": 285.5
},
"luminance": 0.19287
}Semantic roles & 50–950 ramp
primary
#7A5FFB
secondary
#EBF3C3
accent
#E600BE
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86