#7B4FDE#7B4FDE
#7B4FDE is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.207 H 292.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7B4FDE |
|---|---|
| RGB | rgb(123, 79, 222) |
| HSL | hsl(258, 68%, 59%) |
| HSV | hsv(258, 64%, 87%) |
| CMYK | cmyk(44.6%, 64.4%, 0%, 12.9%) |
| CIE-LAB | lab(45.74, 50.55, -66.77) |
| CIE-LCH | lch(45.74, 83.75, 307.13°) |
| OKLab | oklab(55.41% 0.0791 -0.1909) |
| OKLCH | oklch(55.41% 0.207 292.5) |
| XYZ | xyz(24.1455, 15.0761, 70.7309) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.05
Light Indigo
#6D5ACF
ΔE00 4.28
Slate Blue
#6A5ACD
ΔE00 4.77
Bluish Purple
#703BE7
ΔE00 4.77
Purpleish Blue
#6140EF
ΔE00 5.39
Dark Periwinkle
#665FD1
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B4FDE #B2DE4F
analogous
#4F6BDE #7B4FDE #C34FDE
triadic
#7B4FDE #DE7B4F #4FDE7B
tetradic
#7B4FDE #DE4F6B #B2DE4F #4FDEC3
square
#7B4FDE #DE4F6B #B2DE4F #4FDEC3
split-complementary
#7B4FDE #DEC34F #6BDE4F
monochromatic
#421C96 #5826CA #7B4FDE #A283E8 #C8B6F1
Accessibility & contrast
On white
5.23
#7B4FDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#7B4FDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B4FDE
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B4FDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B4FDE | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EE2
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#5E7190
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7b4fde; /* rgb */ color: rgb(123, 79, 222); /* oklch */ color: oklch(55.4% 0.207 292.5);
Tailwind
colors: {
custom: {
50: '#a883e9',
500: '#7b4fde',
950: '#000000',
},
}SCSS
$custom: #7b4fde; $custom-light: #a883e9; $custom-dark: #000000;
JSON
{
"hex": "#7b4fde",
"rgb": {
"r": 123,
"g": 79,
"b": 222
},
"hsl": {
"h": 258.462,
"s": 68.421,
"l": 59.02
},
"oklch": {
"l": 0.55405,
"c": 0.20664,
"h": 292.5
},
"luminance": 0.15077
}Semantic roles & 50–950 ramp
primary
#7B4FDE
secondary
#CFE0A8
accent
#EB3DB6
background
#FAF8FE
surface
#F5EFFD
border
#CFCAD5
text
#100B16
muted
#7F7C84