#7A2B89#7A2B89

#7A2B89 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.162 H 320.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7A2B89
RGBrgb(122, 43, 137)
HSLhsl(290, 52%, 35%)
HSVhsv(290, 69%, 54%)
CMYKcmyk(10.9%, 68.6%, 0%, 46.3%)
CIE-LABlab(33.29, 47.80, -36.56)
CIE-LCHlch(33.29, 60.18, 322.59°)
OKLaboklab(44.56% 0.1255 -0.1021)
OKLCHoklch(44.56% 0.162 320.9)
XYZxyz(13.4047, 7.6721, 24.4369)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2B89 #3A892B
analogous
#4B2B89 #7A2B89 #892B69
triadic
#7A2B89 #897A2B #2B897A
tetradic
#7A2B89 #894B2B #3A892B #2B6989
square
#7A2B89 #894B2B #3A892B #2B6989
split-complementary
#7A2B89 #69892B #2B894B
monochromatic
#270E2C #511C5A #7A2B89 #A33AB8 #BC61CD

Accessibility & contrast

On white

8.29
#7A2B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7A2B89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2B89
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2B89#FFFFFF#000000##FFFFFF
##7A2B891.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C498C
Deuteranopia (green-blind)
#355187
Tritanopia (blue-blind)
#7B3B56
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a2b89;
/* rgb */ color: rgb(122, 43, 137);
/* oklch */ color: oklch(44.6% 0.162 320.9);
Tailwind
colors: {
  custom: {
    50: '#a36bac',
    500: '#7a2b89',
    950: '#000000',
  },
}
SCSS
$custom: #7a2b89;
$custom-light: #a36bac;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2b89",
  "rgb": {
    "r": 122,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 290.426,
    "s": 52.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44563,
    "c": 0.16179,
    "h": 320.9
  },
  "luminance": 0.07671
}

Semantic roles & 50–950 ramp

primary
#7A2B89
secondary
#6AB35C
accent
#DC4C63
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #7A2B89

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

Preview Lab → · Contrast checker → · Palette generator →

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