#7F2FC8#7F2FC8
#7F2FC8 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.220 H 302.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FC8 |
|---|---|
| RGB | rgb(127, 47, 200) |
| HSL | hsl(271, 62%, 48%) |
| HSV | hsv(271, 77%, 78%) |
| CMYK | cmyk(36.5%, 76.5%, 0%, 21.6%) |
| CIE-LAB | lab(39.10, 60.86, -64.90) |
| CIE-LCH | lch(39.10, 88.97, 313.16°) |
| OKLab | oklab(50.25% 0.119 -0.1851) |
| OKLCH | oklch(50.25% 0.22 302.7) |
| XYZ | xyz(20.1918, 10.7152, 55.6368) |
| Luminance | 0.1071 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.73
Darkviolet
#9400D3
ΔE00 4.04
Darkorchid
#9932CC
ΔE00 4.88
Burple
#6832E3
ΔE00 5.15
Bluish Purple
#703BE7
ΔE00 5.50
Violet (survey)
#9A0EEA
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FC8 #78C82F
analogous
#332FC8 #7F2FC8 #C82FC4
triadic
#7F2FC8 #C87F2F #2FC87F
tetradic
#7F2FC8 #C8332F #78C82F #2FC4C8
square
#7F2FC8 #C8332F #78C82F #2FC4C8
split-complementary
#7F2FC8 #C4C82F #2FC833
monochromatic
#401865 #602396 #7F2FC8 #9D5CD9 #BB8DE4
Accessibility & contrast
On white
6.68
#7F2FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#7F2FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FC8
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FC8 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#70577A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7f2fc8; /* rgb */ color: rgb(127, 47, 200); /* oklch */ color: oklch(50.3% 0.220 302.7);
Tailwind
colors: {
custom: {
50: '#ab70da',
500: '#7f2fc8',
950: '#000000',
},
}SCSS
$custom: #7f2fc8; $custom-light: #ab70da; $custom-dark: #000000;
JSON
{
"hex": "#7f2fc8",
"rgb": {
"r": 127,
"g": 47,
"b": 200
},
"hsl": {
"h": 271.373,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.50253,
"c": 0.22008,
"h": 302.7
},
"luminance": 0.10715
}Semantic roles & 50–950 ramp
primary
#7F2FC8
secondary
#A8CF84
accent
#E54390
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83