#7A55DB#7A55DB

#7A55DB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.195 H 291.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7A55DB
RGBrgb(122, 85, 219)
HSLhsl(257, 65%, 60%)
HSVhsv(257, 61%, 86%)
CMYKcmyk(44.3%, 61.2%, 0%, 14.1%)
CIE-LABlab(46.64, 46.27, -63.60)
CIE-LCHlch(46.64, 78.65, 306.04°)
OKLaboklab(55.97% 0.0717 -0.1816)
OKLCHoklch(55.97% 0.195 291.5)
XYZxyz(24.0572, 15.7483, 68.7763)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A55DB #B6DB55
analogous
#5573DB #7A55DB #BD55DB
triadic
#7A55DB #DB7A55 #55DB7A
tetradic
#7A55DB #DB5573 #B6DB55 #55DBBD
square
#7A55DB #DB5573 #B6DB55 #55DBBD
split-complementary
#7A55DB #DBBD55 #73DB55
monochromatic
#402096 #562AC8 #7A55DB #A288E6 #C9BAF0

Accessibility & contrast

On white

5.06
#7A55DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7A55DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A55DB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A55DB#FFFFFF#000000##FFFFFF
##7A55DB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#006CD8
Tritanopia (blue-blind)
#5E7490
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7a55db;
/* rgb */ color: rgb(122, 85, 219);
/* oklch */ color: oklch(56.0% 0.195 291.5);
Tailwind
colors: {
  custom: {
    50: '#a786e7',
    500: '#7a55db',
    950: '#000000',
  },
}
SCSS
$custom: #7a55db;
$custom-light: #a786e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7a55db",
  "rgb": {
    "r": 122,
    "g": 85,
    "b": 219
  },
  "hsl": {
    "h": 256.567,
    "s": 65.049,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5597,
    "c": 0.19526,
    "h": 291.5
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#7A55DB
secondary
#D2E0AC
accent
#E840BA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7A55DB

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

Preview Lab → · Contrast checker → · Palette generator →

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