#7F30C4#7F30C4
#7F30C4 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.215 H 303.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F30C4 |
|---|---|
| RGB | rgb(127, 48, 196) |
| HSL | hsl(272, 61%, 48%) |
| HSV | hsv(272, 76%, 77%) |
| CMYK | cmyk(35.2%, 75.5%, 0%, 23.1%) |
| CIE-LAB | lab(38.92, 59.54, -62.86) |
| CIE-LCH | lch(38.92, 86.58, 313.45°) |
| OKLab | oklab(50.03% 0.1191 -0.1791) |
| OKLCH | oklch(50.03% 0.215 303.6) |
| XYZ | xyz(19.7708, 10.6115, 53.2205) |
| Luminance | 0.1061 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.20
Darkviolet
#9400D3
ΔE00 4.22
Darkorchid
#9932CC
ΔE00 4.86
Burple
#6832E3
ΔE00 5.61
Bluey Purple
#6241C7
ΔE00 5.85
Bluish Purple
#703BE7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F30C4 #75C430
analogous
#3530C4 #7F30C4 #C430BF
triadic
#7F30C4 #C47F30 #30C47F
tetradic
#7F30C4 #C43530 #75C430 #30BFC4
square
#7F30C4 #C43530 #75C430 #30BFC4
split-complementary
#7F30C4 #BFC430 #30C435
monochromatic
#3F1862 #5F2493 #7F30C4 #9D5AD7 #BA8CE3
Accessibility & contrast
On white
6.73
#7F30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7F30C4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F30C4
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F30C4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F30C4 | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC8
Deuteranopia (green-blind)
#005BC1
Tritanopia (blue-blind)
#715678
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f30c4; /* rgb */ color: rgb(127, 48, 196); /* oklch */ color: oklch(50.0% 0.215 303.6);
Tailwind
colors: {
custom: {
50: '#aa71d7',
500: '#7f30c4',
950: '#000000',
},
}SCSS
$custom: #7f30c4; $custom-light: #aa71d7; $custom-dark: #000000;
JSON
{
"hex": "#7f30c4",
"rgb": {
"r": 127,
"g": 48,
"b": 196
},
"hsl": {
"h": 272.027,
"s": 60.656,
"l": 47.843
},
"oklch": {
"l": 0.5003,
"c": 0.21511,
"h": 303.6
},
"luminance": 0.10611
}Semantic roles & 50–950 ramp
primary
#7F30C4
secondary
#A5CD83
accent
#E4448F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83