#7F3FCB#7F3FCB
#7F3FCB is a mid, highly saturated violet. Relative luminance 0.124; OKLCH L 52.2% C 0.205 H 300.3°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3FCB |
|---|---|
| RGB | rgb(127, 63, 203) |
| HSL | hsl(267, 57%, 52%) |
| HSV | hsv(267, 69%, 80%) |
| CMYK | cmyk(37.4%, 69%, 0%, 20.4%) |
| CIE-LAB | lab(41.81, 54.55, -62.22) |
| CIE-LCH | lch(41.81, 82.75, 311.24°) |
| OKLab | oklab(52.25% 0.1035 -0.1774) |
| OKLCH | oklch(52.25% 0.205 300.3) |
| XYZ | xyz(21.3067, 12.3787, 57.7551) |
| Luminance | 0.1238 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.91
Bluish Purple
#703BE7
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 4.69
Bluey Purple
#6241C7
ΔE00 4.97
Burple
#6832E3
ΔE00 5.41
Darkviolet
#9400D3
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3FCB #8BCB3F
analogous
#3F45CB #7F3FCB #C53FCB
triadic
#7F3FCB #CB7F3F #3FCB7F
tetradic
#7F3FCB #CB3F45 #8BCB3F #3FCBC5
square
#7F3FCB #CB3F45 #8BCB3F #3FCBC5
split-complementary
#7F3FCB #CBC53F #45CB3F
monochromatic
#441F71 #612CA1 #7F3FCB #9F6FD8 #BF9FE5
Accessibility & contrast
On white
6.04
#7F3FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#7F3FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3FCB
6.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3FCB | 1.00 | 6.04 | 3.48 | 6.04 |
| #FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#0062C8
Tritanopia (blue-blind)
#6E6080
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #7f3fcb; /* rgb */ color: rgb(127, 63, 203); /* oklch */ color: oklch(52.2% 0.205 300.3);
Tailwind
colors: {
custom: {
50: '#aa79dc',
500: '#7f3fcb',
950: '#000000',
},
}SCSS
$custom: #7f3fcb; $custom-light: #aa79dc; $custom-dark: #000000;
JSON
{
"hex": "#7f3fcb",
"rgb": {
"r": 127,
"g": 63,
"b": 203
},
"hsl": {
"h": 267.429,
"s": 57.377,
"l": 52.157
},
"oklch": {
"l": 0.52246,
"c": 0.20535,
"h": 300.3
},
"luminance": 0.12379
}Semantic roles & 50–950 ramp
primary
#7F3FCB
secondary
#B6D194
accent
#E1479A
background
#FAF7FD
surface
#F5EEFB
border
#CFC9D4
text
#110915
muted
#807B83