#7F4BDC#7F4BDC
#7F4BDC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.1% C 0.210 H 295.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4BDC |
|---|---|
| RGB | rgb(127, 75, 220) |
| HSL | hsl(262, 67%, 58%) |
| HSV | hsv(262, 66%, 86%) |
| CMYK | cmyk(42.3%, 65.9%, 0%, 13.7%) |
| CIE-LAB | lab(45.24, 52.89, -66.43) |
| CIE-LCH | lch(45.24, 84.91, 308.52°) |
| OKLab | oklab(55.09% 0.0888 -0.1898) |
| OKLCH | oklch(55.09% 0.21 295.1) |
| XYZ | xyz(24.1833, 14.7109, 69.2616) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.50
Bluish Purple
#703BE7
ΔE00 4.37
Light Indigo
#6D5ACF
ΔE00 5.25
Blueviolet
#8A2BE2
ΔE00 5.41
Purpleish Blue
#6140EF
ΔE00 5.52
Slate Blue
#6A5ACD
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4BDC #A8DC4B
analogous
#4B5FDC #7F4BDC #C74BDC
triadic
#7F4BDC #DC7F4B #4BDC7F
tetradic
#7F4BDC #DC4B5F #A8DC4B #4BDCC7
square
#7F4BDC #DC4B5F #A8DC4B #4BDCC7
split-complementary
#7F4BDC #DCC74B #5FDC4B
monochromatic
#461C91 #5F26C4 #7F4BDC #A37EE6 #C8B1F0
Accessibility & contrast
On white
5.33
#7F4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#7F4BDC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4BDC
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4BDC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4BDC | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE0
Deuteranopia (green-blind)
#0069D9
Tritanopia (blue-blind)
#666E8D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7f4bdc; /* rgb */ color: rgb(127, 75, 220); /* oklch */ color: oklch(55.1% 0.210 295.1);
Tailwind
colors: {
custom: {
50: '#ab80e8',
500: '#7f4bdc',
950: '#000000',
},
}SCSS
$custom: #7f4bdc; $custom-light: #ab80e8; $custom-dark: #000000;
JSON
{
"hex": "#7f4bdc",
"rgb": {
"r": 127,
"g": 75,
"b": 220
},
"hsl": {
"h": 261.517,
"s": 67.442,
"l": 57.843
},
"oklch": {
"l": 0.55093,
"c": 0.20953,
"h": 295.1
},
"luminance": 0.14711
}Semantic roles & 50–950 ramp
primary
#7F4BDC
secondary
#CADEA4
accent
#EA3DAC
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110A16
muted
#807C84