#7A209C#7A209C

#7A209C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.192 H 314.4°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7A209C
RGBrgb(122, 32, 156)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(21.8%, 79.5%, 0%, 38.8%)
CIE-LABlab(33.07, 55.90, -48.56)
CIE-LCHlch(33.07, 74.04, 319.02°)
OKLaboklab(44.82% 0.1345 -0.1372)
OKLCHoklch(44.82% 0.192 314.4)
XYZxyz(14.5423, 7.5714, 32.1414)
Luminance0.0757 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209C #429C20
analogous
#3C209C #7A209C #9C2080
triadic
#7A209C #9C7A20 #209C7A
tetradic
#7A209C #9C3C20 #429C20 #20809C
square
#7A209C #9C3C20 #429C20 #20809C
split-complementary
#7A209C #809C20 #209C3C
monochromatic
#2B0B36 #521669 #7A209C #A22ACF #B959DD

Accessibility & contrast

On white

8.35
#7A209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7A209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A209C
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209C#FFFFFF#000000##FFFFFF
##7A209C1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#165099
Tritanopia (blue-blind)
#773D5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a209c;
/* rgb */ color: rgb(122, 32, 156);
/* oklch */ color: oklch(44.8% 0.192 314.4);
Tailwind
colors: {
  custom: {
    50: '#a567ba',
    500: '#7a209c',
    950: '#000000',
  },
}
SCSS
$custom: #7a209c;
$custom-light: #a567ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209c",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 283.548,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44817,
    "c": 0.19215,
    "h": 314.4
  },
  "luminance": 0.07571
}

Semantic roles & 50–950 ramp

primary
#7A209C
secondary
#74C157
accent
#E93F6E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A209C

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

Preview Lab → · Contrast checker → · Palette generator →

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