#7A55CD#7A55CD
#7A55CD is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.178 H 294.0°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #7A55CD |
|---|---|
| RGB | rgb(122, 85, 205) |
| HSL | hsl(259, 55%, 57%) |
| HSV | hsv(259, 59%, 80%) |
| CMYK | cmyk(40.5%, 58.5%, 0%, 19.6%) |
| CIE-LAB | lab(45.69, 42.43, -57.12) |
| CIE-LCH | lch(45.69, 71.16, 306.60°) |
| OKLab | oklab(54.97% 0.0723 -0.1626) |
| OKLCH | oklch(54.97% 0.178 294) |
| XYZ | xyz(22.2910, 15.0418, 59.4747) |
| Luminance | 0.1504 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.02
Slate Blue
#6A5ACD
ΔE00 3.50
Purpley
#8756E4
ΔE00 3.97
Iris
#6258C4
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 5.17
Royal Purple
#7851A9
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A55CD #A8CD55
analogous
#556CCD #7A55CD #B655CD
triadic
#7A55CD #CD7A55 #55CD7A
tetradic
#7A55CD #CD556C #A8CD55 #55CDB6
square
#7A55CD #CD556C #A8CD55 #55CDB6
split-complementary
#7A55CD #CDB655 #6CCD55
monochromatic
#422682 #5A34B1 #7A55CD #9F84DB #C4B4E9
Accessibility & contrast
On white
5.24
#7A55CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#7A55CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A55CD
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A55CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A55CD | 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)
#016DD1
Deuteranopia (green-blind)
#1A6ACA
Tritanopia (blue-blind)
#646F89
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7a55cd; /* rgb */ color: rgb(122, 85, 205); /* oklch */ color: oklch(55.0% 0.178 294.0);
Tailwind
colors: {
custom: {
50: '#a686dd',
500: '#7a55cd',
950: '#000000',
},
}SCSS
$custom: #7a55cd; $custom-light: #a686dd; $custom-dark: #000000;
JSON
{
"hex": "#7a55cd",
"rgb": {
"r": 122,
"g": 85,
"b": 205
},
"hsl": {
"h": 258.5,
"s": 54.545,
"l": 56.863
},
"oklch": {
"l": 0.54973,
"c": 0.17792,
"h": 294
},
"luminance": 0.15042
}Semantic roles & 50–950 ramp
primary
#7A55CD
secondary
#C8D7A6
accent
#DE4AB0
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83