#7A5ABD#7A5ABD

#7A5ABD is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.150 H 296.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7A5ABD
RGBrgb(122, 90, 189)
HSLhsl(259, 43%, 55%)
HSVhsv(259, 52%, 74%)
CMYKcmyk(35.4%, 52.4%, 0%, 25.9%)
CIE-LABlab(45.80, 35.23, -47.70)
CIE-LCHlch(45.80, 59.30, 306.45°)
OKLaboklab(54.74% 0.0657 -0.1349)
OKLCHoklch(54.74% 0.15 296)
XYZxyz(20.8652, 15.1237, 49.9541)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A5ABD #9DBD5A
analogous
#5A6CBD #7A5ABD #AC5ABD
triadic
#7A5ABD #BD7A5A #5ABD7A
tetradic
#7A5ABD #BD5A6C #9DBD5A #5ABDAC
square
#7A5ABD #BD5A6C #9DBD5A #5ABDAC
split-complementary
#7A5ABD #BDAC5A #6CBD5A
monochromatic
#422D70 #5C3E9C #7A5ABD #9D86CE #C0B1E0

Accessibility & contrast

On white

5.22
#7A5ABD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7A5ABD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A5ABD
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A5ABD#FFFFFF#000000##FFFFFF
##7A5ABD1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336DC0
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#6A6E83
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7a5abd;
/* rgb */ color: rgb(122, 90, 189);
/* oklch */ color: oklch(54.7% 0.150 296.0);
Tailwind
colors: {
  custom: {
    50: '#a489d1',
    500: '#7a5abd',
    950: '#000000',
  },
}
SCSS
$custom: #7a5abd;
$custom-light: #a489d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a5abd",
  "rgb": {
    "r": 122,
    "g": 90,
    "b": 189
  },
  "hsl": {
    "h": 259.394,
    "s": 42.857,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54735,
    "c": 0.15006,
    "h": 296
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#7A5ABD
secondary
#C1CEA5
accent
#D355AA
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#0F0B14
muted
#7F7C82

Preview Lab

Preview with #7A5ABD

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

Preview Lab → · Contrast checker → · Palette generator →

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