#7F3AC0#7F3AC0
#7F3AC0 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.8% C 0.200 H 303.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3AC0 |
|---|---|
| RGB | rgb(127, 58, 192) |
| HSL | hsl(271, 54%, 49%) |
| HSV | hsv(271, 70%, 75%) |
| CMYK | cmyk(33.9%, 69.8%, 0%, 24.7%) |
| CIE-LAB | lab(40.15, 54.25, -58.51) |
| CIE-LCH | lch(40.15, 79.79, 312.83°) |
| OKLab | oklab(50.81% 0.1103 -0.1664) |
| OKLCH | oklch(50.81% 0.2 303.5) |
| XYZ | xyz(19.7777, 11.3439, 51.0066) |
| Luminance | 0.1134 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.58
Blueviolet
#8A2BE2
ΔE00 4.77
Bluey Purple
#6241C7
ΔE00 5.50
Darkviolet
#9400D3
ΔE00 5.53
Bluish Purple
#703BE7
ΔE00 6.07
Burple
#6832E3
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3AC0 #7BC03A
analogous
#3C3AC0 #7F3AC0 #C03ABE
triadic
#7F3AC0 #C07F3A #3AC07F
tetradic
#7F3AC0 #C03C3A #7BC03A #3ABEC0
square
#7F3AC0 #C03C3A #7BC03A #3ABEC0
split-complementary
#7F3AC0 #BEC03A #3AC03C
monochromatic
#411E62 #602C91 #7F3AC0 #9D66D1 #BB95DF
Accessibility & contrast
On white
6.42
#7F3AC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#7F3AC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3AC0
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3AC0 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DC4
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#725979
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #7f3ac0; /* rgb */ color: rgb(127, 58, 192); /* oklch */ color: oklch(50.8% 0.200 303.5);
Tailwind
colors: {
custom: {
50: '#a976d4',
500: '#7f3ac0',
950: '#000000',
},
}SCSS
$custom: #7f3ac0; $custom-light: #a976d4; $custom-dark: #000000;
JSON
{
"hex": "#7f3ac0",
"rgb": {
"r": 127,
"g": 58,
"b": 192
},
"hsl": {
"h": 270.896,
"s": 53.6,
"l": 49.02
},
"oklch": {
"l": 0.50809,
"c": 0.19967,
"h": 303.5
},
"luminance": 0.11344
}Semantic roles & 50–950 ramp
primary
#7F3AC0
secondary
#AACA8B
accent
#DD4B92
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83