#7A55BE#7A55BE
#7A55BE is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.0% C 0.159 H 297.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #7A55BE |
|---|---|
| RGB | rgb(122, 85, 190) |
| HSL | hsl(261, 45%, 54%) |
| HSV | hsv(261, 55%, 75%) |
| CMYK | cmyk(35.8%, 55.3%, 0%, 25.5%) |
| CIE-LAB | lab(44.73, 38.39, -49.99) |
| CIE-LCH | lch(44.73, 63.03, 307.53°) |
| OKLab | oklab(53.96% 0.0722 -0.1416) |
| OKLCH | oklch(53.96% 0.159 297) |
| XYZ | xyz(20.5665, 14.3520, 50.3919) |
| Luminance | 0.1435 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 4.40
Slate Blue
#6A5ACD
ΔE00 4.65
Iris
#6258C4
ΔE00 5.27
Deep Lavender
#8D5EB7
ΔE00 5.48
Purpley
#8756E4
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A55BE #99BE55
analogous
#5565BE #7A55BE #AF55BE
triadic
#7A55BE #BE7A55 #55BE7A
tetradic
#7A55BE #BE5565 #99BE55 #55BEAF
square
#7A55BE #BE5565 #99BE55 #55BEAF
split-complementary
#7A55BE #BEAF55 #65BE55
monochromatic
#422A6E #5D3B9B #7A55BE #9D81CF #BFAEE0
Accessibility & contrast
On white
5.43
#7A55BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#7A55BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A55BE
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A55BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A55BE | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#266AC2
Deuteranopia (green-blind)
#3269BC
Tritanopia (blue-blind)
#6A6A81
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #7a55be; /* rgb */ color: rgb(122, 85, 190); /* oklch */ color: oklch(54.0% 0.159 297.0);
Tailwind
colors: {
custom: {
50: '#a486d2',
500: '#7a55be',
950: '#000000',
},
}SCSS
$custom: #7a55be; $custom-light: #a486d2; $custom-dark: #000000;
JSON
{
"hex": "#7a55be",
"rgb": {
"r": 122,
"g": 85,
"b": 190
},
"hsl": {
"h": 261.143,
"s": 44.681,
"l": 53.922
},
"oklch": {
"l": 0.53962,
"c": 0.15897,
"h": 297
},
"luminance": 0.14352
}Semantic roles & 50–950 ramp
primary
#7A55BE
secondary
#BECEA1
accent
#D453A7
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83