#7B4CDE#7B4CDE
#7B4CDE is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.0% C 0.210 H 293.0°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4CDE |
|---|---|
| RGB | rgb(123, 76, 222) |
| HSL | hsl(259, 69%, 58%) |
| HSV | hsv(259, 66%, 87%) |
| CMYK | cmyk(44.6%, 65.8%, 0%, 12.9%) |
| CIE-LAB | lab(45.16, 52.14, -67.72) |
| CIE-LCH | lch(45.16, 85.46, 307.60°) |
| OKLab | oklab(54.98% 0.0821 -0.1937) |
| OKLCH | oklch(54.98% 0.21 293) |
| XYZ | xyz(23.9340, 14.6530, 70.6604) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.59
Bluish Purple
#703BE7
ΔE00 4.13
Light Indigo
#6D5ACF
ΔE00 4.78
Purpleish Blue
#6140EF
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.22
Blueviolet
#8A2BE2
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4CDE #AFDE4C
analogous
#4C66DE #7B4CDE #C44CDE
triadic
#7B4CDE #DE7B4C #4CDE7B
tetradic
#7B4CDE #DE4C66 #AFDE4C #4CDEC4
square
#7B4CDE #DE4C66 #AFDE4C #4CDEC4
split-complementary
#7B4CDE #DEC44C #66DE4C
monochromatic
#421B94 #5925C8 #7B4CDE #A180E8 #C7B3F1
Accessibility & contrast
On white
5.34
#7B4CDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#7B4CDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4CDE
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4CDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4CDE | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DE2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#5E6F8F
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #7b4cde; /* rgb */ color: rgb(123, 76, 222); /* oklch */ color: oklch(55.0% 0.210 293.0);
Tailwind
colors: {
custom: {
50: '#a981e9',
500: '#7b4cde',
950: '#000000',
},
}SCSS
$custom: #7b4cde; $custom-light: #a981e9; $custom-dark: #000000;
JSON
{
"hex": "#7b4cde",
"rgb": {
"r": 123,
"g": 76,
"b": 222
},
"hsl": {
"h": 259.315,
"s": 68.868,
"l": 58.431
},
"oklch": {
"l": 0.54985,
"c": 0.21038,
"h": 293
},
"luminance": 0.14654
}Semantic roles & 50–950 ramp
primary
#7B4CDE
secondary
#CDE0A6
accent
#EC3CB3
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#110A16
muted
#807C84