#7A1FD5#7A1FD5
#7A1FD5 is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.5% C 0.245 H 299.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1FD5 |
|---|---|
| RGB | rgb(122, 31, 213) |
| HSL | hsl(270, 75%, 48%) |
| HSV | hsv(270, 85%, 84%) |
| CMYK | cmyk(42.7%, 85.4%, 0%, 16.5%) |
| CIE-LAB | lab(37.70, 68.50, -74.75) |
| CIE-LCH | lch(37.70, 101.39, 312.50°) |
| OKLab | oklab(49.49% 0.1187 -0.2141) |
| OKLCH | oklch(49.49% 0.245 299) |
| XYZ | xyz(20.5232, 9.9213, 63.7716) |
| Luminance | 0.0992 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply Blue
#661AEE
ΔE00 3.93
Blueviolet
#8A2BE2
ΔE00 3.97
Burple
#6832E3
ΔE00 4.02
Darkviolet
#9400D3
ΔE00 4.08
Purple Blue
#5D21D0
ΔE00 4.28
Blue Violet
#5D06E9
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1FD5 #7AD51F
analogous
#1F1FD5 #7A1FD5 #D51FD5
triadic
#7A1FD5 #D57A1F #1FD57A
tetradic
#7A1FD5 #D51F1F #7AD51F #1FD5D5
square
#7A1FD5 #D51F1F #7AD51F #1FD5D5
split-complementary
#7A1FD5 #D5D51F #1FD51F
monochromatic
#3D0F6A #5B17A0 #7A1FD5 #994CE5 #B782ED
Accessibility & contrast
On white
7.04
#7A1FD5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#7A1FD5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1FD5
7.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1FD5 | 1.00 | 7.04 | 2.98 | 7.04 |
| #FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059DA
Deuteranopia (green-blind)
#0057D2
Tritanopia (blue-blind)
#63577F
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7a1fd5; /* rgb */ color: rgb(122, 31, 213); /* oklch */ color: oklch(49.5% 0.245 299.0);
Tailwind
colors: {
custom: {
50: '#a96ae3',
500: '#7a1fd5',
950: '#000000',
},
}SCSS
$custom: #7a1fd5; $custom-light: #a96ae3; $custom-dark: #000000;
JSON
{
"hex": "#7a1fd5",
"rgb": {
"r": 122,
"g": 31,
"b": 213
},
"hsl": {
"h": 270,
"s": 74.59,
"l": 47.843
},
"oklch": {
"l": 0.49486,
"c": 0.24478,
"h": 299
},
"luminance": 0.09922
}Semantic roles & 50–950 ramp
primary
#7A1FD5
secondary
#A8D57A
accent
#F13794
background
#FBF6FE
surface
#F6ECFC
border
#D0C7D5
text
#110716
muted
#807A84