#7B54DD#7B54DD
#7B54DD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.1% C 0.199 H 291.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7B54DD |
|---|---|
| RGB | rgb(123, 84, 221) |
| HSL | hsl(257, 67%, 60%) |
| HSV | hsv(257, 62%, 87%) |
| CMYK | cmyk(44.3%, 62%, 0%, 13.3%) |
| CIE-LAB | lab(46.67, 47.57, -64.68) |
| CIE-LCH | lch(46.67, 80.29, 306.33°) |
| OKLab | oklab(56.06% 0.0739 -0.1848) |
| OKLCH | oklch(56.06% 0.199 291.8) |
| XYZ | xyz(24.3862, 15.7713, 70.1519) |
| Luminance | 0.1577 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.43
Light Indigo
#6D5ACF
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 4.09
Dark Periwinkle
#665FD1
ΔE00 5.30
Iris
#6258C4
ΔE00 5.80
Bluish Purple
#703BE7
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B54DD #B6DD54
analogous
#5472DD #7B54DD #BF54DD
triadic
#7B54DD #DD7B54 #54DD7B
tetradic
#7B54DD #DD5472 #B6DD54 #54DDBF
square
#7B54DD #DD5472 #B6DD54 #54DDBF
split-complementary
#7B54DD #DDBF54 #72DD54
monochromatic
#411E98 #5728CB #7B54DD #A287E7 #CABAF1
Accessibility & contrast
On white
5.05
#7B54DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#7B54DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B54DD
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B54DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B54DD | 1.00 | 5.05 | 4.15 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006CDA
Tritanopia (blue-blind)
#5E7491
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7b54dd; /* rgb */ color: rgb(123, 84, 221); /* oklch */ color: oklch(56.1% 0.199 291.8);
Tailwind
colors: {
custom: {
50: '#a886e8',
500: '#7b54dd',
950: '#000000',
},
}SCSS
$custom: #7b54dd; $custom-light: #a886e8; $custom-dark: #000000;
JSON
{
"hex": "#7b54dd",
"rgb": {
"r": 123,
"g": 84,
"b": 221
},
"hsl": {
"h": 257.08,
"s": 66.829,
"l": 59.804
},
"oklch": {
"l": 0.5606,
"c": 0.19902,
"h": 291.8
},
"luminance": 0.15772
}Semantic roles & 50–950 ramp
primary
#7B54DD
secondary
#D2E1AC
accent
#EA3EB9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84