#7B54CD#7B54CD
#7B54CD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.9% C 0.179 H 294.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7B54CD |
|---|---|
| RGB | rgb(123, 84, 205) |
| HSL | hsl(259, 55%, 57%) |
| HSV | hsv(259, 59%, 80%) |
| CMYK | cmyk(40%, 59%, 0%, 19.6%) |
| CIE-LAB | lab(45.58, 43.22, -57.30) |
| CIE-LCH | lch(45.58, 71.77, 307.02°) |
| OKLab | oklab(54.91% 0.0748 -0.1631) |
| OKLCH | oklch(54.91% 0.179 294.6) |
| XYZ | xyz(22.3552, 14.9589, 59.4553) |
| Luminance | 0.1496 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.33
Slate Blue
#6A5ACD
ΔE00 3.80
Purpley
#8756E4
ΔE00 3.94
Iris
#6258C4
ΔE00 5.10
Dark Periwinkle
#665FD1
ΔE00 5.50
Royal Purple
#7851A9
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B54CD #A6CD54
analogous
#546ACD #7B54CD #B854CD
triadic
#7B54CD #CD7B54 #54CD7B
tetradic
#7B54CD #CD546A #A6CD54 #54CDB8
square
#7B54CD #CD546A #A6CD54 #54CDB8
split-complementary
#7B54CD #CDB854 #6ACD54
monochromatic
#432681 #5C34B0 #7B54CD #A083DB #C4B3E9
Accessibility & contrast
On white
5.26
#7B54CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7B54CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B54CD
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B54CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B54CD | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD1
Deuteranopia (green-blind)
#196ACA
Tritanopia (blue-blind)
#666E88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7b54cd; /* rgb */ color: rgb(123, 84, 205); /* oklch */ color: oklch(54.9% 0.179 294.6);
Tailwind
colors: {
custom: {
50: '#a686dd',
500: '#7b54cd',
950: '#000000',
},
}SCSS
$custom: #7b54cd; $custom-light: #a686dd; $custom-dark: #000000;
JSON
{
"hex": "#7b54cd",
"rgb": {
"r": 123,
"g": 84,
"b": 205
},
"hsl": {
"h": 259.339,
"s": 54.751,
"l": 56.667
},
"oklch": {
"l": 0.54914,
"c": 0.1794,
"h": 294.6
},
"luminance": 0.14959
}Semantic roles & 50–950 ramp
primary
#7B54CD
secondary
#C7D7A6
accent
#DE4AAE
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83