#7F2FBB#7F2FBB
#7F2FBB is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 306.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FBB |
|---|---|
| RGB | rgb(127, 47, 187) |
| HSL | hsl(274, 60%, 46%) |
| HSV | hsv(274, 75%, 73%) |
| CMYK | cmyk(32.1%, 74.9%, 0%, 26.7%) |
| CIE-LAB | lab(38.08, 57.89, -58.94) |
| CIE-LCH | lch(38.08, 82.62, 314.48°) |
| OKLab | oklab(49.22% 0.1219 -0.1676) |
| OKLCH | oklch(49.22% 0.207 306) |
| XYZ | xyz(18.7366, 10.1331, 47.9729) |
| Luminance | 0.1013 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.62
Darkorchid
#9932CC
ΔE00 5.23
Blueviolet
#8A2BE2
ΔE00 5.44
Purple (survey)
#7E1E9C
ΔE00 5.68
Rebeccapurple
#663399
ΔE00 6.22
Bluey Purple
#6241C7
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FBB #6BBB2F
analogous
#392FBB #7F2FBB #BB2FB1
triadic
#7F2FBB #BB7F2F #2FBB7F
tetradic
#7F2FBB #BB392F #6BBB2F #2FB1BB
square
#7F2FBB #BB392F #6BBB2F #2FB1BB
split-complementary
#7F2FBB #B1BB2F #2FBB39
monochromatic
#3D1659 #5E238A #7F2FBB #9D53D4 #B984E0
Accessibility & contrast
On white
6.94
#7F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7F2FBB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FBB
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FBB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FBB | 1.00 | 6.94 | 3.03 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#005AB8
Tritanopia (blue-blind)
#745173
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7f2fbb; /* rgb */ color: rgb(127, 47, 187); /* oklch */ color: oklch(49.2% 0.207 306.0);
Tailwind
colors: {
custom: {
50: '#a970d0',
500: '#7f2fbb',
950: '#000000',
},
}SCSS
$custom: #7f2fbb; $custom-light: #a970d0; $custom-dark: #000000;
JSON
{
"hex": "#7f2fbb",
"rgb": {
"r": 127,
"g": 47,
"b": 187
},
"hsl": {
"h": 274.286,
"s": 59.829,
"l": 45.882
},
"oklch": {
"l": 0.49222,
"c": 0.20727,
"h": 306
},
"luminance": 0.10133
}Semantic roles & 50–950 ramp
primary
#7F2FBB
secondary
#9DC97C
accent
#E34589
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110814
muted
#807B82