#7A3CCB#7A3CCB
#7A3CCB is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.3% C 0.208 H 298.5°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7A3CCB |
|---|---|
| RGB | rgb(122, 60, 203) |
| HSL | hsl(266, 58%, 52%) |
| HSV | hsv(266, 70%, 80%) |
| CMYK | cmyk(39.9%, 70.4%, 0%, 20.4%) |
| CIE-LAB | lab(40.70, 55.04, -64.05) |
| CIE-LCH | lch(40.70, 84.45, 310.67°) |
| OKLab | oklab(51.33% 0.0995 -0.1829) |
| OKLCH | oklch(51.33% 0.208 298.5) |
| XYZ | xyz(20.4186, 11.6808, 57.6672) |
| Luminance | 0.1168 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.95
Bluish Purple
#703BE7
ΔE00 4.08
Bluey Purple
#6241C7
ΔE00 4.14
Burple
#6832E3
ΔE00 4.51
Darkorchid
#9932CC
ΔE00 5.44
Purpley Blue
#5F34E7
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A3CCB #8DCB3C
analogous
#3C46CB #7A3CCB #C23CCB
triadic
#7A3CCB #CB7A3C #3CCB7A
tetradic
#7A3CCB #CB3C46 #8DCB3C #3CCBC2
square
#7A3CCB #CB3C46 #8DCB3C #3CCBC2
split-complementary
#7A3CCB #CBC23C #46CB3C
monochromatic
#411E6F #5D2A9F #7A3CCB #9B6CD8 #BC9DE5
Accessibility & contrast
On white
6.29
#7A3CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7A3CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A3CCB
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A3CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A3CCB | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CF
Deuteranopia (green-blind)
#005FC8
Tritanopia (blue-blind)
#665F7F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7a3ccb; /* rgb */ color: rgb(122, 60, 203); /* oklch */ color: oklch(51.3% 0.208 298.5);
Tailwind
colors: {
custom: {
50: '#a777dc',
500: '#7a3ccb',
950: '#000000',
},
}SCSS
$custom: #7a3ccb; $custom-light: #a777dc; $custom-dark: #000000;
JSON
{
"hex": "#7a3ccb",
"rgb": {
"r": 122,
"g": 60,
"b": 203
},
"hsl": {
"h": 266.014,
"s": 57.895,
"l": 51.569
},
"oklch": {
"l": 0.51325,
"c": 0.20822,
"h": 298.5
},
"luminance": 0.11681
}Semantic roles & 50–950 ramp
primary
#7A3CCB
secondary
#B6D192
accent
#E1479E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83