#7B54CF#7B54CF
#7B54CF is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.1% C 0.182 H 294.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7B54CF |
|---|---|
| RGB | rgb(123, 84, 207) |
| HSL | hsl(259, 56%, 57%) |
| HSV | hsv(259, 59%, 81%) |
| CMYK | cmyk(40.6%, 59.4%, 0%, 18.8%) |
| CIE-LAB | lab(45.71, 43.76, -58.24) |
| CIE-LCH | lch(45.71, 72.84, 306.92°) |
| OKLab | oklab(55.05% 0.0747 -0.1658) |
| OKLCH | oklch(55.05% 0.182 294.2) |
| XYZ | xyz(22.5982, 15.0561, 60.7349) |
| Luminance | 0.1506 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.26
Purpley
#8756E4
ΔE00 3.70
Slate Blue
#6A5ACD
ΔE00 3.76
Iris
#6258C4
ΔE00 5.13
Dark Periwinkle
#665FD1
ΔE00 5.41
Royal Purple
#7851A9
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B54CF #A8CF54
analogous
#546BCF #7B54CF #B854CF
triadic
#7B54CF #CF7B54 #54CF7B
tetradic
#7B54CF #CF546B #A8CF54 #54CFB8
square
#7B54CF #CF546B #A8CF54 #54CFB8
split-complementary
#7B54CF #CFB854 #6BCF54
monochromatic
#432584 #5B32B3 #7B54CF #A084DC #C5B4EA
Accessibility & contrast
On white
5.24
#7B54CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7B54CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B54CF
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B54CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B54CF | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#146ACC
Tritanopia (blue-blind)
#656F89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7b54cf; /* rgb */ color: rgb(123, 84, 207); /* oklch */ color: oklch(55.1% 0.182 294.2);
Tailwind
colors: {
custom: {
50: '#a686de',
500: '#7b54cf',
950: '#000000',
},
}SCSS
$custom: #7b54cf; $custom-light: #a686de; $custom-dark: #000000;
JSON
{
"hex": "#7b54cf",
"rgb": {
"r": 123,
"g": 84,
"b": 207
},
"hsl": {
"h": 259.024,
"s": 56.164,
"l": 57.059
},
"oklch": {
"l": 0.55053,
"c": 0.18187,
"h": 294.2
},
"luminance": 0.15057
}Semantic roles & 50–950 ramp
primary
#7B54CF
secondary
#C9D8A6
accent
#DF48B0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83