#7F3BCE#7F3BCE
#7F3BCE is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.0% C 0.213 H 300.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3BCE |
|---|---|
| RGB | rgb(127, 59, 206) |
| HSL | hsl(268, 60%, 52%) |
| HSV | hsv(268, 71%, 81%) |
| CMYK | cmyk(38.3%, 71.4%, 0%, 19.2%) |
| CIE-LAB | lab(41.37, 57.16, -64.68) |
| CIE-LCH | lch(41.37, 86.32, 311.47°) |
| OKLab | oklab(52% 0.1069 -0.1846) |
| OKLCH | oklch(52% 0.213 300.1) |
| XYZ | xyz(21.4542, 12.0960, 59.5850) |
| Luminance | 0.1210 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.25
Bluish Purple
#703BE7
ΔE00 4.17
Darkorchid
#9932CC
ΔE00 4.64
Burple
#6832E3
ΔE00 4.83
Bluey Purple
#6241C7
ΔE00 4.98
Darkviolet
#9400D3
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3BCE #8ACE3B
analogous
#3B41CE #7F3BCE #C83BCE
triadic
#7F3BCE #CE7F3B #3BCE7F
tetradic
#7F3BCE #CE3B41 #8ACE3B #3BCEC8
square
#7F3BCE #CE3B41 #8ACE3B #3BCEC8
split-complementary
#7F3BCE #CEC83B #41CE3B
monochromatic
#441D72 #6129A3 #7F3BCE #9F6CDA #BF9DE6
Accessibility & contrast
On white
6.14
#7F3BCE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#7F3BCE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3BCE
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3BCE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3BCE | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#6D5F81
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #7f3bce; /* rgb */ color: rgb(127, 59, 206); /* oklch */ color: oklch(52.0% 0.213 300.1);
Tailwind
colors: {
custom: {
50: '#aa77de',
500: '#7f3bce',
950: '#000000',
},
}SCSS
$custom: #7f3bce; $custom-light: #aa77de; $custom-dark: #000000;
JSON
{
"hex": "#7f3bce",
"rgb": {
"r": 127,
"g": 59,
"b": 206
},
"hsl": {
"h": 267.755,
"s": 60,
"l": 51.961
},
"oklch": {
"l": 0.52002,
"c": 0.2133,
"h": 300.1
},
"luminance": 0.12096
}Semantic roles & 50–950 ramp
primary
#7F3BCE
secondary
#B5D392
accent
#E3459A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83