#7A489C#7A489C

#7A489C is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.7% C 0.137 H 309.8°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#7A489C
RGBrgb(122, 72, 156)
HSLhsl(276, 37%, 45%)
HSVhsv(276, 54%, 61%)
CMYKcmyk(21.8%, 53.8%, 0%, 38.8%)
CIE-LABlab(39.87, 37.22, -37.66)
CIE-LCHlch(39.87, 52.95, 314.66°)
OKLaboklab(49.72% 0.0879 -0.1055)
OKLCHoklch(49.72% 0.137 309.8)
XYZxyz(16.3430, 11.1729, 32.7417)
Luminance0.1117 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A489C #6A9C48
analogous
#50489C #7A489C #9C4894
triadic
#7A489C #9C7A48 #489C7A
tetradic
#7A489C #9C5048 #6A9C48 #48949C
square
#7A489C #9C5048 #6A9C48 #48949C
split-complementary
#7A489C #949C48 #489C50
monochromatic
#392148 #593572 #7A489C #9868B9 #B592CD

Accessibility & contrast

On white

6.49
#7A489C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#7A489C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A489C
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A489C#FFFFFF#000000##FFFFFF
##7A489C1.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305C9F
Deuteranopia (green-blind)
#405F9A
Tritanopia (blue-blind)
#76566B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a489c;
/* rgb */ color: rgb(122, 72, 156);
/* oklch */ color: oklch(49.7% 0.137 309.8);
Tailwind
colors: {
  custom: {
    50: '#a37db9',
    500: '#7a489c',
    950: '#000000',
  },
}
SCSS
$custom: #7a489c;
$custom-light: #a37db9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a489c",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 156
  },
  "hsl": {
    "h": 275.714,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49722,
    "c": 0.1373,
    "h": 309.8
  },
  "luminance": 0.11173
}

Semantic roles & 50–950 ramp

primary
#7A489C
secondary
#9BB887
accent
#CD5B89
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A11
muted
#7F7C80

Preview Lab

Preview with #7A489C

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

Preview Lab → · Contrast checker → · Palette generator →

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