#7A2FCA#7A2FCA
#7A2FCA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.221 H 300.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FCA |
|---|---|
| RGB | rgb(122, 47, 202) |
| HSL | hsl(269, 62%, 49%) |
| HSV | hsv(269, 77%, 79%) |
| CMYK | cmyk(39.6%, 76.7%, 0%, 20.8%) |
| CIE-LAB | lab(38.61, 60.51, -66.88) |
| CIE-LCH | lch(38.61, 90.19, 312.14°) |
| OKLab | oklab(49.82% 0.1114 -0.1911) |
| OKLCH | oklch(49.82% 0.221 300.2) |
| XYZ | xyz(19.7006, 10.4347, 56.8418) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.92
Burple
#6832E3
ΔE00 4.36
Darkviolet
#9400D3
ΔE00 4.59
Bluish Purple
#703BE7
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.08
Purple Blue
#5D21D0
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FCA #7FCA2F
analogous
#2F32CA #7A2FCA #C82FCA
triadic
#7A2FCA #CA7A2F #2FCA7A
tetradic
#7A2FCA #CA2F32 #7FCA2F #2FCAC8
square
#7A2FCA #CA2F32 #7FCA2F #2FCAC8
split-complementary
#7A2FCA #CAC82F #32CA2F
monochromatic
#3E1867 #5C2398 #7A2FCA #995DD9 #B88FE5
Accessibility & contrast
On white
6.80
#7A2FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#7A2FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2FCA
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FCA | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#67587C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7a2fca; /* rgb */ color: rgb(122, 47, 202); /* oklch */ color: oklch(49.8% 0.221 300.2);
Tailwind
colors: {
custom: {
50: '#a870db',
500: '#7a2fca',
950: '#000000',
},
}SCSS
$custom: #7a2fca; $custom-light: #a870db; $custom-dark: #000000;
JSON
{
"hex": "#7a2fca",
"rgb": {
"r": 122,
"g": 47,
"b": 202
},
"hsl": {
"h": 269.032,
"s": 62.249,
"l": 48.824
},
"oklch": {
"l": 0.49824,
"c": 0.22122,
"h": 300.2
},
"luminance": 0.10435
}Semantic roles & 50–950 ramp
primary
#7A2FCA
secondary
#ACCF86
accent
#E54297
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83