#7B5CDA#7B5CDA
#7B5CDA is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.1% C 0.185 H 290.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B5CDA |
|---|---|
| RGB | rgb(123, 92, 218) |
| HSL | hsl(255, 63%, 61%) |
| HSV | hsv(255, 58%, 85%) |
| CMYK | cmyk(43.6%, 57.8%, 0%, 14.5%) |
| CIE-LAB | lab(48.17, 42.26, -60.56) |
| CIE-LCH | lch(48.17, 73.85, 304.91°) |
| OKLab | oklab(57.09% 0.0652 -0.1726) |
| OKLCH | oklch(57.09% 0.185 290.7) |
| XYZ | xyz(24.6469, 16.9264, 68.2846) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.63
Dark Periwinkle
#665FD1
ΔE00 4.24
Mediumslateblue
#7B68EE
ΔE00 4.77
Iris
#6258C4
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B5CDA #BBDA5C
analogous
#5C7CDA #7B5CDA #BA5CDA
triadic
#7B5CDA #DA7B5C #5CDA7B
tetradic
#7B5CDA #DA5C7C #BBDA5C #5CDABA
square
#7B5CDA #DA5C7C #BBDA5C #5CDABA
split-complementary
#7B5CDA #DABA5C #7CDA5C
monochromatic
#402399 #552ECB #7B5CDA #A38EE5 #CCC0F1
Accessibility & contrast
On white
4.79
#7B5CDA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7B5CDA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B5CDA
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B5CDA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B5CDA | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075DE
Deuteranopia (green-blind)
#1070D7
Tritanopia (blue-blind)
#5F7892
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7b5cda; /* rgb */ color: rgb(123, 92, 218); /* oklch */ color: oklch(57.1% 0.185 290.7);
Tailwind
colors: {
custom: {
50: '#a78be6',
500: '#7b5cda',
950: '#000000',
},
}SCSS
$custom: #7b5cda; $custom-light: #a78be6; $custom-dark: #000000;
JSON
{
"hex": "#7b5cda",
"rgb": {
"r": 123,
"g": 92,
"b": 218
},
"hsl": {
"h": 254.762,
"s": 63,
"l": 60.784
},
"oklch": {
"l": 0.57087,
"c": 0.18457,
"h": 290.7
},
"luminance": 0.16927
}Semantic roles & 50–950 ramp
primary
#7B5CDA
secondary
#D5E1B1
accent
#CB1B9F
background
#FAF8FE
surface
#F4F0FC
border
#CECBD5
text
#100C16
muted
#7F7D84