#7C30AB#7C30AB
#7C30AB is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.7% C 0.189 H 309.2°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7C30AB |
|---|---|
| RGB | rgb(124, 48, 171) |
| HSL | hsl(277, 56%, 43%) |
| HSV | hsv(277, 72%, 67%) |
| CMYK | cmyk(27.5%, 71.9%, 0%, 32.9%) |
| CIE-LAB | lab(36.63, 53.29, -51.83) |
| CIE-LCH | lch(36.63, 74.34, 315.80°) |
| OKLab | oklab(47.74% 0.1197 -0.1468) |
| OKLCH | oklch(47.74% 0.189 309.2) |
| XYZ | xyz(16.7183, 9.3396, 39.4422) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.77
Rebeccapurple
#663399
ΔE00 4.49
Darkviolet
#9400D3
ΔE00 6.43
Darkorchid
#9932CC
ΔE00 6.73
Purply
#983FB2
ΔE00 6.74
Bluey Purple
#6241C7
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C30AB #5FAB30
analogous
#3E30AB #7C30AB #AB309C
triadic
#7C30AB #AB7C30 #30AB7C
tetradic
#7C30AB #AB3E30 #5FAB30 #309CAB
square
#7C30AB #AB3E30 #5FAB30 #309CAB
split-complementary
#7C30AB #9CAB30 #30AB3E
monochromatic
#37154B #59237B #7C30AB #9B4CCD #B67BDA
Accessibility & contrast
On white
7.32
#7C30AB on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7C30AB on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C30AB
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C30AB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C30AB | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#1357A8
Tritanopia (blue-blind)
#754C6A
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7c30ab; /* rgb */ color: rgb(124, 48, 171); /* oklch */ color: oklch(47.7% 0.189 309.2);
Tailwind
colors: {
custom: {
50: '#a66fc5',
500: '#7c30ab',
950: '#000000',
},
}SCSS
$custom: #7c30ab; $custom-light: #a66fc5; $custom-dark: #000000;
JSON
{
"hex": "#7c30ab",
"rgb": {
"r": 124,
"g": 48,
"b": 171
},
"hsl": {
"h": 277.073,
"s": 56.164,
"l": 42.941
},
"oklch": {
"l": 0.47736,
"c": 0.18942,
"h": 309.2
},
"luminance": 0.09339
}Semantic roles & 50–950 ramp
primary
#7C30AB
secondary
#92C374
accent
#DF4882
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82