#7C33AA#7C33AA
#7C33AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.0% C 0.185 H 309.2°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7C33AA |
|---|---|
| RGB | rgb(124, 51, 170) |
| HSL | hsl(277, 54%, 43%) |
| HSV | hsv(277, 70%, 67%) |
| CMYK | cmyk(27.1%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(37.03, 51.74, -50.58) |
| CIE-LCH | lch(37.03, 72.36, 315.65°) |
| OKLab | oklab(48% 0.1166 -0.1432) |
| OKLCH | oklch(48% 0.185 309.2) |
| XYZ | xyz(16.7503, 9.5553, 38.9844) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 4.08
Rebeccapurple
#663399
ΔE00 4.46
Purply
#983FB2
ΔE00 6.41
Darkorchid
#9932CC
ΔE00 6.67
Darkviolet
#9400D3
ΔE00 6.73
Royal Purple
#7851A9
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C33AA #61AA33
analogous
#4133AA #7C33AA #AA339C
triadic
#7C33AA #AA7C33 #33AA7C
tetradic
#7C33AA #AA4133 #61AA33 #339CAA
square
#7C33AA #AA4133 #61AA33 #339CAA
split-complementary
#7C33AA #9CAA33 #33AA41
monochromatic
#37174C #5A257B #7C33AA #9B50CA #B67FD9
Accessibility & contrast
On white
7.21
#7C33AA on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#7C33AA on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C33AA
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C33AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C33AA | 1.00 | 7.21 | 2.91 | 7.21 |
| #FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054AD
Deuteranopia (green-blind)
#1B58A7
Tritanopia (blue-blind)
#754D6B
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #7c33aa; /* rgb */ color: rgb(124, 51, 170); /* oklch */ color: oklch(48.0% 0.185 309.2);
Tailwind
colors: {
custom: {
50: '#a671c4',
500: '#7c33aa',
950: '#000000',
},
}SCSS
$custom: #7c33aa; $custom-light: #a671c4; $custom-dark: #000000;
JSON
{
"hex": "#7c33aa",
"rgb": {
"r": 124,
"g": 51,
"b": 170
},
"hsl": {
"h": 276.807,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.48,
"c": 0.18467,
"h": 309.2
},
"luminance": 0.09555
}Semantic roles & 50–950 ramp
primary
#7C33AA
secondary
#94C277
accent
#DD4B83
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82