#7B5BDB#7B5BDB
#7B5BDB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.0% C 0.187 H 290.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5BDB |
|---|---|
| RGB | rgb(123, 91, 219) |
| HSL | hsl(255, 64%, 61%) |
| HSV | hsv(255, 58%, 86%) |
| CMYK | cmyk(43.8%, 58.4%, 0%, 14.1%) |
| CIE-LAB | lab(48.02, 43.11, -61.37) |
| CIE-LCH | lch(48.02, 75.00, 305.08°) |
| OKLab | oklab(57% 0.0664 -0.175) |
| OKLCH | oklch(57% 0.187 290.8) |
| XYZ | xyz(24.6921, 16.8068, 68.9471) |
| Luminance | 0.1681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.64
Light Indigo
#6D5ACF
ΔE00 3.05
Slate Blue
#6A5ACD
ΔE00 3.66
Dark Periwinkle
#665FD1
ΔE00 4.35
Mediumslateblue
#7B68EE
ΔE00 4.91
Iris
#6258C4
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5BDB #BBDB5B
analogous
#5B7BDB #7B5BDB #BB5BDB
triadic
#7B5BDB #DB7B5B #5BDB7B
tetradic
#7B5BDB #DB5B7B #BBDB5B #5BDBBB
square
#7B5BDB #DB5B7B #BBDB5B #5BDBBB
split-complementary
#7B5BDB #DBBB5B #7BDB5B
monochromatic
#40229A #552DCC #7B5BDB #A38DE6 #CCBFF1
Accessibility & contrast
On white
4.81
#7B5BDB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#7B5BDB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5BDB
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5BDB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5BDB | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#046FD8
Tritanopia (blue-blind)
#5F7892
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7b5bdb; /* rgb */ color: rgb(123, 91, 219); /* oklch */ color: oklch(57.0% 0.187 290.8);
Tailwind
colors: {
custom: {
50: '#a78ae7',
500: '#7b5bdb',
950: '#000000',
},
}SCSS
$custom: #7b5bdb; $custom-light: #a78ae7; $custom-dark: #000000;
JSON
{
"hex": "#7b5bdb",
"rgb": {
"r": 123,
"g": 91,
"b": 219
},
"hsl": {
"h": 255,
"s": 64,
"l": 60.784
},
"oklch": {
"l": 0.56997,
"c": 0.18719,
"h": 290.8
},
"luminance": 0.16808
}Semantic roles & 50–950 ramp
primary
#7B5BDB
secondary
#D5E1B1
accent
#CC1A9F
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84