#7A55CB#7A55CB
#7A55CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.8% C 0.175 H 294.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7A55CB |
|---|---|
| RGB | rgb(122, 85, 203) |
| HSL | hsl(259, 53%, 56%) |
| HSV | hsv(259, 58%, 80%) |
| CMYK | cmyk(39.9%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(45.56, 41.89, -56.18) |
| CIE-LCH | lch(45.56, 70.08, 306.71°) |
| OKLab | oklab(54.84% 0.0723 -0.1598) |
| OKLCH | oklch(54.84% 0.175 294.3) |
| XYZ | xyz(22.0512, 14.9459, 58.2114) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.12
Slate Blue
#6A5ACD
ΔE00 3.57
Purpley
#8756E4
ΔE00 4.21
Iris
#6258C4
ΔE00 4.83
Dark Periwinkle
#665FD1
ΔE00 5.28
Royal Purple
#7851A9
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A55CB #A6CB55
analogous
#556BCB #7A55CB #B555CB
triadic
#7A55CB #CB7A55 #55CB7A
tetradic
#7A55CB #CB556B #A6CB55 #55CBB5
square
#7A55CB #CB556B #A6CB55 #55CBB5
split-complementary
#7A55CB #CBB555 #6BCB55
monochromatic
#42277F #5B35AE #7A55CB #9F84D9 #C3B3E8
Accessibility & contrast
On white
5.26
#7A55CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#7A55CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A55CB
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A55CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A55CB | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#1F6AC8
Tritanopia (blue-blind)
#656F88
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #7a55cb; /* rgb */ color: rgb(122, 85, 203); /* oklch */ color: oklch(54.8% 0.175 294.3);
Tailwind
colors: {
custom: {
50: '#a586db',
500: '#7a55cb',
950: '#000000',
},
}SCSS
$custom: #7a55cb; $custom-light: #a586db; $custom-dark: #000000;
JSON
{
"hex": "#7a55cb",
"rgb": {
"r": 122,
"g": 85,
"b": 203
},
"hsl": {
"h": 258.814,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.54835,
"c": 0.17542,
"h": 294.3
},
"luminance": 0.14946
}Semantic roles & 50–950 ramp
primary
#7A55CB
secondary
#C7D6A6
accent
#DD4BAF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83