#7F3DC0#7F3DC0
#7F3DC0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.196 H 303.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3DC0 |
|---|---|
| RGB | rgb(127, 61, 192) |
| HSL | hsl(270, 52%, 50%) |
| HSV | hsv(270, 68%, 75%) |
| CMYK | cmyk(33.9%, 68.2%, 0%, 24.7%) |
| CIE-LAB | lab(40.66, 52.83, -57.69) |
| CIE-LCH | lch(40.66, 78.22, 312.48°) |
| OKLab | oklab(51.17% 0.1071 -0.164) |
| OKLCH | oklch(51.17% 0.196 303.2) |
| XYZ | xyz(19.9334, 11.6553, 51.0585) |
| Luminance | 0.1166 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.61
Blueviolet
#8A2BE2
ΔE00 4.93
Bluey Purple
#6241C7
ΔE00 5.42
Darkviolet
#9400D3
ΔE00 5.98
Bluish Purple
#703BE7
ΔE00 6.05
Purply
#983FB2
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3DC0 #7EC03D
analogous
#3D3DC0 #7F3DC0 #C03DC0
triadic
#7F3DC0 #C07F3D #3DC07F
tetradic
#7F3DC0 #C03D3D #7EC03D #3DC0C0
square
#7F3DC0 #C03D3D #7EC03D #3DC0C0
split-complementary
#7F3DC0 #C0C03D #3DC03D
monochromatic
#421F63 #602E92 #7F3DC0 #9D6AD0 #BC99DF
Accessibility & contrast
On white
6.30
#7F3DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#7F3DC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3DC0
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3DC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3DC0 | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#0060BD
Tritanopia (blue-blind)
#725B7A
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #7f3dc0; /* rgb */ color: rgb(127, 61, 192); /* oklch */ color: oklch(51.2% 0.196 303.2);
Tailwind
colors: {
custom: {
50: '#a977d4',
500: '#7f3dc0',
950: '#000000',
},
}SCSS
$custom: #7f3dc0; $custom-light: #a977d4; $custom-dark: #000000;
JSON
{
"hex": "#7f3dc0",
"rgb": {
"r": 127,
"g": 61,
"b": 192
},
"hsl": {
"h": 270.229,
"s": 51.779,
"l": 49.608
},
"oklch": {
"l": 0.51173,
"c": 0.19592,
"h": 303.2
},
"luminance": 0.11655
}Semantic roles & 50–950 ramp
primary
#7F3DC0
secondary
#ACCA8E
accent
#DB4D93
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100914
muted
#7F7B83