#7A2D89#7A2D89

#7A2D89 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.159 H 320.7°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#7A2D89
RGBrgb(122, 45, 137)
HSLhsl(290, 51%, 36%)
HSVhsv(290, 67%, 54%)
CMYKcmyk(10.9%, 67.2%, 0%, 46.3%)
CIE-LABlab(33.61, 46.92, -36.05)
CIE-LCHlch(33.61, 59.17, 322.46°)
OKLaboklab(44.79% 0.1231 -0.1006)
OKLCHoklch(44.79% 0.159 320.7)
XYZxyz(13.4793, 7.8212, 24.4617)
Luminance0.0782 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2D89 #3C892D
analogous
#4C2D89 #7A2D89 #892D6A
triadic
#7A2D89 #897A2D #2D897A
tetradic
#7A2D89 #894C2D #3C892D #2D6A89
square
#7A2D89 #894C2D #3C892D #2D6A89
split-complementary
#7A2D89 #6A892D #2D894C
monochromatic
#280F2D #511E5B #7A2D89 #A33CB7 #BB64CC

Accessibility & contrast

On white

8.19
#7A2D89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7A2D89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2D89
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2D89#FFFFFF#000000##FFFFFF
##7A2D891.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8C
Deuteranopia (green-blind)
#365287
Tritanopia (blue-blind)
#7B3D57
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7a2d89;
/* rgb */ color: rgb(122, 45, 137);
/* oklch */ color: oklch(44.8% 0.159 320.7);
Tailwind
colors: {
  custom: {
    50: '#a36cac',
    500: '#7a2d89',
    950: '#000000',
  },
}
SCSS
$custom: #7a2d89;
$custom-light: #a36cac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2d89",
  "rgb": {
    "r": 122,
    "g": 45,
    "b": 137
  },
  "hsl": {
    "h": 290.217,
    "s": 50.549,
    "l": 35.686
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.15903,
    "h": 320.7
  },
  "luminance": 0.0782
}

Semantic roles & 50–950 ramp

primary
#7A2D89
secondary
#6DB35F
accent
#DA4E65
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2D89

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

Preview Lab → · Contrast checker → · Palette generator →

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