#7B4DCF#7B4DCF
#7B4DCF is a mid, vivid violet. Relative luminance 0.140; OKLCH L 54.0% C 0.191 H 295.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4DCF |
|---|---|
| RGB | rgb(123, 77, 207) |
| HSL | hsl(261, 58%, 56%) |
| HSV | hsv(261, 63%, 81%) |
| CMYK | cmyk(40.6%, 62.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.27, 47.61, -60.57) |
| CIE-LCH | lch(44.27, 77.04, 308.17°) |
| OKLab | oklab(54% 0.0826 -0.1727) |
| OKLCH | oklch(54% 0.191 295.6) |
| XYZ | xyz(22.0818, 14.0232, 60.5627) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.53
Purpley
#8756E4
ΔE00 4.54
Slate Blue
#6A5ACD
ΔE00 4.92
Bluish Purple
#703BE7
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.39
Iris
#6258C4
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4DCF #A1CF4D
analogous
#4D60CF #7B4DCF #BC4DCF
triadic
#7B4DCF #CF7B4D #4DCF7B
tetradic
#7B4DCF #CF4D60 #A1CF4D #4DCFBC
square
#7B4DCF #CF4D60 #A1CF4D #4DCFBC
split-complementary
#7B4DCF #CFBC4D #60CF4D
monochromatic
#43227F #5D2FAF #7B4DCF #9F7DDC #C2ADE9
Accessibility & contrast
On white
5.52
#7B4DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#7B4DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4DCF
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4DCF | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#656B87
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #7b4dcf; /* rgb */ color: rgb(123, 77, 207); /* oklch */ color: oklch(54.0% 0.191 295.6);
Tailwind
colors: {
custom: {
50: '#a781de',
500: '#7b4dcf',
950: '#000000',
},
}SCSS
$custom: #7b4dcf; $custom-light: #a781de; $custom-dark: #000000;
JSON
{
"hex": "#7b4dcf",
"rgb": {
"r": 123,
"g": 77,
"b": 207
},
"hsl": {
"h": 261.231,
"s": 57.522,
"l": 55.686
},
"oklch": {
"l": 0.54001,
"c": 0.19144,
"h": 295.6
},
"luminance": 0.14024
}Semantic roles & 50–950 ramp
primary
#7B4DCF
secondary
#C4D7A1
accent
#E147AA
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100A15
muted
#7F7C83