#7F4DDF#7F4DDF
#7F4DDF is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.6% C 0.210 H 294.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #7F4DDF |
|---|---|
| RGB | rgb(127, 77, 223) |
| HSL | hsl(261, 70%, 59%) |
| HSV | hsv(261, 65%, 87%) |
| CMYK | cmyk(43%, 65.5%, 0%, 12.5%) |
| CIE-LAB | lab(45.83, 52.64, -67.16) |
| CIE-LCH | lch(45.83, 85.33, 308.09°) |
| OKLab | oklab(55.59% 0.0864 -0.1919) |
| OKLCH | oklch(55.59% 0.21 294.2) |
| XYZ | xyz(24.7220, 15.1468, 71.4188) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.93
Bluish Purple
#703BE7
ΔE00 4.69
Light Indigo
#6D5ACF
ΔE00 5.01
Slate Blue
#6A5ACD
ΔE00 5.51
Purpleish Blue
#6140EF
ΔE00 5.61
Blueviolet
#8A2BE2
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F4DDF #ADDF4D
analogous
#4D64DF #7F4DDF #C84DDF
triadic
#7F4DDF #DF7F4D #4DDF7F
tetradic
#7F4DDF #DF4D64 #ADDF4D #4DDFC8
square
#7F4DDF #DF4D64 #ADDF4D #4DDFC8
split-complementary
#7F4DDF #DFC84D #64DF4D
monochromatic
#451B97 #5D24CA #7F4DDF #A481E8 #CAB5F2
Accessibility & contrast
On white
5.21
#7F4DDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#7F4DDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F4DDF
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F4DDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F4DDF | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE3
Deuteranopia (green-blind)
#006ADC
Tritanopia (blue-blind)
#65708F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #7f4ddf; /* rgb */ color: rgb(127, 77, 223); /* oklch */ color: oklch(55.6% 0.210 294.2);
Tailwind
colors: {
custom: {
50: '#ab82ea',
500: '#7f4ddf',
950: '#000000',
},
}SCSS
$custom: #7f4ddf; $custom-light: #ab82ea; $custom-dark: #000000;
JSON
{
"hex": "#7f4ddf",
"rgb": {
"r": 127,
"g": 77,
"b": 223
},
"hsl": {
"h": 260.548,
"s": 69.524,
"l": 58.824
},
"oklch": {
"l": 0.55593,
"c": 0.21049,
"h": 294.2
},
"luminance": 0.15147
}Semantic roles & 50–950 ramp
primary
#7F4DDF
secondary
#CDE1A7
accent
#EC3BB0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84