#7F3CCE#7F3CCE
#7F3CCE is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.1% C 0.212 H 300.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CCE |
|---|---|
| RGB | rgb(127, 60, 206) |
| HSL | hsl(268, 60%, 52%) |
| HSV | hsv(268, 71%, 81%) |
| CMYK | cmyk(38.3%, 70.9%, 0%, 19.2%) |
| CIE-LAB | lab(41.53, 56.70, -64.41) |
| CIE-LCH | lch(41.53, 85.81, 311.36°) |
| OKLab | oklab(52.12% 0.106 -0.1838) |
| OKLCH | oklch(52.12% 0.212 300) |
| XYZ | xyz(21.5061, 12.1998, 59.6023) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.34
Bluish Purple
#703BE7
ΔE00 4.16
Darkorchid
#9932CC
ΔE00 4.66
Burple
#6832E3
ΔE00 4.90
Bluey Purple
#6241C7
ΔE00 4.96
Darkviolet
#9400D3
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CCE #8BCE3C
analogous
#3C42CE #7F3CCE #C83CCE
triadic
#7F3CCE #CE7F3C #3CCE7F
tetradic
#7F3CCE #CE3C42 #8BCE3C #3CCEC8
square
#7F3CCE #CE3C42 #8BCE3C #3CCEC8
split-complementary
#7F3CCE #CEC83C #42CE3C
monochromatic
#441D73 #6129A4 #7F3CCE #9F6DDA #BF9EE7
Accessibility & contrast
On white
6.10
#7F3CCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#7F3CCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CCE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CCE | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#6D6081
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f3cce; /* rgb */ color: rgb(127, 60, 206); /* oklch */ color: oklch(52.1% 0.212 300.0);
Tailwind
colors: {
custom: {
50: '#aa77de',
500: '#7f3cce',
950: '#000000',
},
}SCSS
$custom: #7f3cce; $custom-light: #aa77de; $custom-dark: #000000;
JSON
{
"hex": "#7f3cce",
"rgb": {
"r": 127,
"g": 60,
"b": 206
},
"hsl": {
"h": 267.534,
"s": 59.836,
"l": 52.157
},
"oklch": {
"l": 0.52118,
"c": 0.21214,
"h": 300
},
"luminance": 0.122
}Semantic roles & 50–950 ramp
primary
#7F3CCE
secondary
#B6D393
accent
#E3459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83