#7A55DC#7A55DC
#7A55DC is a mid, vivid violet. Relative luminance 0.158; OKLCH L 56.0% C 0.196 H 291.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #7A55DC |
|---|---|
| RGB | rgb(122, 85, 220) |
| HSL | hsl(256, 66%, 60%) |
| HSV | hsv(256, 61%, 86%) |
| CMYK | cmyk(44.5%, 61.4%, 0%, 13.7%) |
| CIE-LAB | lab(46.71, 46.55, -64.05) |
| CIE-LCH | lch(46.71, 79.18, 306.00°) |
| OKLab | oklab(56.04% 0.0716 -0.183) |
| OKLCH | oklch(56.04% 0.196 291.4) |
| XYZ | xyz(24.1892, 15.8011, 69.4717) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.57
Light Indigo
#6D5ACF
ΔE00 3.23
Slate Blue
#6A5ACD
ΔE00 3.80
Dark Periwinkle
#665FD1
ΔE00 4.99
Iris
#6258C4
ΔE00 5.55
Bluish Purple
#703BE7
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A55DC #B7DC55
analogous
#5574DC #7A55DC #BD55DC
triadic
#7A55DC #DC7A55 #55DC7A
tetradic
#7A55DC #DC5574 #B7DC55 #55DCBD
square
#7A55DC #DC5574 #B7DC55 #55DCBD
split-complementary
#7A55DC #DCBD55 #74DC55
monochromatic
#401F97 #562ACA #7A55DC #A288E6 #C9BBF1
Accessibility & contrast
On white
5.05
#7A55DC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#7A55DC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A55DC
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A55DC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A55DC | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#006CD9
Tritanopia (blue-blind)
#5D7491
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a55dc; /* rgb */ color: rgb(122, 85, 220); /* oklch */ color: oklch(56.0% 0.196 291.4);
Tailwind
colors: {
custom: {
50: '#a786e8',
500: '#7a55dc',
950: '#000000',
},
}SCSS
$custom: #7a55dc; $custom-light: #a786e8; $custom-dark: #000000;
JSON
{
"hex": "#7a55dc",
"rgb": {
"r": 122,
"g": 85,
"b": 220
},
"hsl": {
"h": 256.444,
"s": 65.854,
"l": 59.804
},
"oklch": {
"l": 0.56043,
"c": 0.19648,
"h": 291.4
},
"luminance": 0.15802
}Semantic roles & 50–950 ramp
primary
#7A55DC
secondary
#D2E0AC
accent
#E93FBA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84