#7F3ACA#7F3ACA
#7F3ACA is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.6% C 0.210 H 301.1°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3ACA |
|---|---|
| RGB | rgb(127, 58, 202) |
| HSL | hsl(269, 58%, 51%) |
| HSV | hsv(269, 71%, 79%) |
| CMYK | cmyk(37.1%, 71.3%, 0%, 20.8%) |
| CIE-LAB | lab(40.90, 56.64, -63.12) |
| CIE-LCH | lch(40.90, 84.81, 311.90°) |
| OKLab | oklab(51.57% 0.1086 -0.18) |
| OKLCH | oklch(51.57% 0.21 301.1) |
| XYZ | xyz(20.9235, 11.8023, 57.0414) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.57
Darkorchid
#9932CC
ΔE00 4.53
Bluish Purple
#703BE7
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 5.05
Burple
#6832E3
ΔE00 5.13
Darkviolet
#9400D3
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3ACA #85CA3A
analogous
#3A3DCA #7F3ACA #C73ACA
triadic
#7F3ACA #CA7F3A #3ACA7F
tetradic
#7F3ACA #CA3A3D #85CA3A #3ACAC7
square
#7F3ACA #CA3A3D #85CA3A #3ACAC7
split-complementary
#7F3ACA #CAC73A #3DCA3A
monochromatic
#431D6C #612A9D #7F3ACA #9E6AD7 #BE9AE4
Accessibility & contrast
On white
6.25
#7F3ACA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#7F3ACA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3ACA
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3ACA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3ACA | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#0060C7
Tritanopia (blue-blind)
#6F5D7E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3aca; /* rgb */ color: rgb(127, 58, 202); /* oklch */ color: oklch(51.6% 0.210 301.1);
Tailwind
colors: {
custom: {
50: '#aa76db',
500: '#7f3aca',
950: '#000000',
},
}SCSS
$custom: #7f3aca; $custom-light: #aa76db; $custom-dark: #000000;
JSON
{
"hex": "#7f3aca",
"rgb": {
"r": 127,
"g": 58,
"b": 202
},
"hsl": {
"h": 268.75,
"s": 57.6,
"l": 50.98
},
"oklch": {
"l": 0.51574,
"c": 0.21022,
"h": 301.1
},
"luminance": 0.11802
}Semantic roles & 50–950 ramp
primary
#7F3ACA
secondary
#B1D090
accent
#E14797
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83