#7A1EC9#7A1EC9
#7A1EC9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 48.3% C 0.234 H 301.8°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).
Color values
| HEX | #7A1EC9 |
|---|---|
| RGB | rgb(122, 30, 201) |
| HSL | hsl(272, 74%, 45%) |
| HSV | hsv(272, 85%, 79%) |
| CMYK | cmyk(39.3%, 85.1%, 0%, 21.2%) |
| CIE-LAB | lab(36.52, 66.11, -69.72) |
| CIE-LCH | lch(36.52, 96.08, 313.48°) |
| OKLab | oklab(48.35% 0.1235 -0.1993) |
| OKLCH | oklch(48.35% 0.234 301.8) |
| XYZ | xyz(19.0303, 9.2831, 56.0362) |
| Luminance | 0.0928 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.10
Purple Blue
#5D21D0
ΔE00 4.42
Blueviolet
#8A2BE2
ΔE00 5.09
Purply Blue
#661AEE
ΔE00 5.25
Burple
#6832E3
ΔE00 5.31
Blue Violet
#5D06E9
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A1EC9 #6DC91E
analogous
#251EC9 #7A1EC9 #C91EC2
triadic
#7A1EC9 #C97A1E #1EC97A
tetradic
#7A1EC9 #C9251E #6DC91E #1EC2C9
square
#7A1EC9 #C9251E #6DC91E #1EC2C9
split-complementary
#7A1EC9 #C2C91E #1EC925
monochromatic
#390E5E #5A1694 #7A1EC9 #9841E3 #B577EB
Accessibility & contrast
On white
7.35
#7A1EC9 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#7A1EC9 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A1EC9
7.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A1EC9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A1EC9 | 1.00 | 7.35 | 2.86 | 7.35 |
| #FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#685178
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a1ec9; /* rgb */ color: rgb(122, 30, 201); /* oklch */ color: oklch(48.3% 0.234 301.8);
Tailwind
colors: {
custom: {
50: '#a869db',
500: '#7a1ec9',
950: '#000000',
},
}SCSS
$custom: #7a1ec9; $custom-light: #a869db; $custom-dark: #000000;
JSON
{
"hex": "#7a1ec9",
"rgb": {
"r": 122,
"g": 30,
"b": 201
},
"hsl": {
"h": 272.281,
"s": 74.026,
"l": 45.294
},
"oklch": {
"l": 0.48349,
"c": 0.23448,
"h": 301.8
},
"luminance": 0.09283
}Semantic roles & 50–950 ramp
primary
#7A1EC9
secondary
#9ED271
accent
#F1378D
background
#FBF6FD
surface
#F6ECFB
border
#D0C7D4
text
#110715
muted
#807A83