#7F3DC1#7F3DC1
#7F3DC1 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.197 H 302.9°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DC1 |
|---|---|
| RGB | rgb(127, 61, 193) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 68%, 76%) |
| CMYK | cmyk(34.2%, 68.4%, 0%, 24.3%) |
| CIE-LAB | lab(40.73, 53.07, -58.15) |
| CIE-LCH | lch(40.73, 78.73, 312.38°) |
| OKLab | oklab(51.25% 0.107 -0.1654) |
| OKLCH | oklch(51.25% 0.197 302.9) |
| XYZ | xyz(20.0445, 11.6998, 51.6440) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.59
Blueviolet
#8A2BE2
ΔE00 4.80
Bluey Purple
#6241C7
ΔE00 5.36
Bluish Purple
#703BE7
ΔE00 5.90
Darkviolet
#9400D3
ΔE00 5.95
Purply
#983FB2
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DC1 #7FC13D
analogous
#3D3DC1 #7F3DC1 #C13DC1
triadic
#7F3DC1 #C17F3D #3DC17F
tetradic
#7F3DC1 #C13D3D #7FC13D #3DC1C1
square
#7F3DC1 #C13D3D #7FC13D #3DC1C1
split-complementary
#7F3DC1 #C1C13D #3DC13D
monochromatic
#422064 #602E92 #7F3DC1 #9E6BD0 #BC99DF
Accessibility & contrast
On white
6.29
#7F3DC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#7F3DC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DC1
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DC1 | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#725B7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3dc1; /* rgb */ color: rgb(127, 61, 193); /* oklch */ color: oklch(51.2% 0.197 302.9);
Tailwind
colors: {
custom: {
50: '#a977d5',
500: '#7f3dc1',
950: '#000000',
},
}SCSS
$custom: #7f3dc1; $custom-light: #a977d5; $custom-dark: #000000;
JSON
{
"hex": "#7f3dc1",
"rgb": {
"r": 127,
"g": 61,
"b": 193
},
"hsl": {
"h": 270,
"s": 51.969,
"l": 49.804
},
"oklch": {
"l": 0.51247,
"c": 0.197,
"h": 302.9
},
"luminance": 0.117
}Semantic roles & 50–950 ramp
primary
#7F3DC1
secondary
#ADCB8F
accent
#DB4C94
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83