#7A489D#7A489D

#7A489D is a mid, vivid violet. Relative luminance 0.112; OKLCH L 49.8% C 0.139 H 309.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7A489D
RGBrgb(122, 72, 157)
HSLhsl(275, 37%, 45%)
HSVhsv(275, 54%, 62%)
CMYKcmyk(22.3%, 54.1%, 0%, 38.4%)
CIE-LABlab(39.93, 37.45, -38.17)
CIE-LCHlch(39.93, 53.48, 314.45°)
OKLaboklab(49.78% 0.0879 -0.107)
OKLCHoklch(49.78% 0.139 309.4)
XYZxyz(16.4280, 11.2069, 33.1895)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A489D #6B9D48
analogous
#4F489D #7A489D #9D4896
triadic
#7A489D #9D7A48 #489D7A
tetradic
#7A489D #9D4F48 #6B9D48 #48969D
square
#7A489D #9D4F48 #6B9D48 #48969D
split-complementary
#7A489D #969D48 #489D4F
monochromatic
#392249 #593573 #7A489D #9868BA #B592CD

Accessibility & contrast

On white

6.48
#7A489D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7A489D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A489D
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A489D#FFFFFF#000000##FFFFFF
##7A489D1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5CA0
Deuteranopia (green-blind)
#3F5F9B
Tritanopia (blue-blind)
#75576B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7a489d;
/* rgb */ color: rgb(122, 72, 157);
/* oklch */ color: oklch(49.8% 0.139 309.4);
Tailwind
colors: {
  custom: {
    50: '#a37dba',
    500: '#7a489d',
    950: '#000000',
  },
}
SCSS
$custom: #7a489d;
$custom-light: #a37dba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a489d",
  "rgb": {
    "r": 122,
    "g": 72,
    "b": 157
  },
  "hsl": {
    "h": 275.294,
    "s": 37.118,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49782,
    "c": 0.1385,
    "h": 309.4
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#7A489D
secondary
#9CB988
accent
#CD5B8A
background
#FAF7FB
surface
#F4EEF6
border
#CEC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #7A489D

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

Preview Lab → · Contrast checker → · Palette generator →

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