#7A2FC8#7A2FC8
#7A2FC8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.7% C 0.219 H 300.7°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A2FC8 |
|---|---|
| RGB | rgb(122, 47, 200) |
| HSL | hsl(269, 62%, 48%) |
| HSV | hsv(269, 77%, 78%) |
| CMYK | cmyk(39%, 76.5%, 0%, 21.6%) |
| CIE-LAB | lab(38.45, 60.04, -65.99) |
| CIE-LCH | lch(38.45, 89.21, 312.30°) |
| OKLab | oklab(49.66% 0.1119 -0.1885) |
| OKLCH | oklch(49.66% 0.219 300.7) |
| XYZ | xyz(19.4653, 10.3406, 55.6028) |
| Luminance | 0.1034 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.13
Burple
#6832E3
ΔE00 4.60
Darkviolet
#9400D3
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 5.14
Bluish Purple
#703BE7
ΔE00 5.23
Purple Blue
#5D21D0
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A2FC8 #7DC82F
analogous
#2F30C8 #7A2FC8 #C62FC8
triadic
#7A2FC8 #C87A2F #2FC87A
tetradic
#7A2FC8 #C82F30 #7DC82F #2FC8C6
square
#7A2FC8 #C82F30 #7DC82F #2FC8C6
split-complementary
#7A2FC8 #C8C62F #30C82F
monochromatic
#3E1865 #5C2396 #7A2FC8 #995CD9 #B88DE4
Accessibility & contrast
On white
6.84
#7A2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#7A2FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A2FC8
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A2FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A2FC8 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005ACC
Deuteranopia (green-blind)
#0059C5
Tritanopia (blue-blind)
#68587A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7a2fc8; /* rgb */ color: rgb(122, 47, 200); /* oklch */ color: oklch(49.7% 0.219 300.7);
Tailwind
colors: {
custom: {
50: '#a770da',
500: '#7a2fc8',
950: '#000000',
},
}SCSS
$custom: #7a2fc8; $custom-light: #a770da; $custom-dark: #000000;
JSON
{
"hex": "#7a2fc8",
"rgb": {
"r": 122,
"g": 47,
"b": 200
},
"hsl": {
"h": 269.412,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.49658,
"c": 0.21922,
"h": 300.7
},
"luminance": 0.10341
}Semantic roles & 50–950 ramp
primary
#7A2FC8
secondary
#AACF84
accent
#E54395
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83