#7A2099#7A2099

#7A2099 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.189 H 315.5°. Best body text is #FFFFFF at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#7A2099
RGBrgb(122, 32, 153)
HSLhsl(285, 65%, 36%)
HSVhsv(285, 79%, 60%)
CMYKcmyk(20.3%, 79.1%, 0%, 40%)
CIE-LABlab(32.86, 55.29, -47.08)
CIE-LCHlch(32.86, 72.62, 319.58°)
OKLaboklab(44.6% 0.1351 -0.1329)
OKLCHoklch(44.6% 0.189 315.5)
XYZxyz(14.2914, 7.4711, 30.8201)
Luminance0.0747 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A2099 #3F9920
analogous
#3E2099 #7A2099 #99207C
triadic
#7A2099 #997A20 #20997A
tetradic
#7A2099 #993E20 #3F9920 #207C99
square
#7A2099 #993E20 #3F9920 #207C99
split-complementary
#7A2099 #7C9920 #20993E
monochromatic
#290B34 #521566 #7A2099 #A22BCC #BA57DC

Accessibility & contrast

On white

8.42
#7A2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7A2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A2099
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A2099#FFFFFF#000000##FFFFFF
##7A20991.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489C
Deuteranopia (green-blind)
#1C5096
Tritanopia (blue-blind)
#783C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7a2099;
/* rgb */ color: rgb(122, 32, 153);
/* oklch */ color: oklch(44.6% 0.189 315.5);
Tailwind
colors: {
  custom: {
    50: '#a567b8',
    500: '#7a2099',
    950: '#000000',
  },
}
SCSS
$custom: #7a2099;
$custom-light: #a567b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7a2099",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 284.628,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.18946,
    "h": 315.5
  },
  "luminance": 0.07471
}

Semantic roles & 50–950 ramp

primary
#7A2099
secondary
#70C055
accent
#E83F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7A2099

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

Preview Lab → · Contrast checker → · Palette generator →

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