#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
RGBrgb(122, 85, 220)
HSLhsl(256, 66%, 60%)
HSVhsv(256, 61%, 86%)
CMYKcmyk(44.5%, 61.4%, 0%, 13.7%)
CIE-LABlab(46.71, 46.55, -64.05)
CIE-LCHlch(46.71, 79.18, 306.00°)
OKLaboklab(56.04% 0.0716 -0.183)
OKLCHoklch(56.04% 0.196 291.4)
XYZxyz(24.1892, 15.8011, 69.4717)
Luminance0.1580 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

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
##7A55DC1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.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

Preview Lab

Preview with #7A55DC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7A55DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva