#7A209D#7A209D

#7A209D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.193 H 314.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#7A209D
RGBrgb(122, 32, 157)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 80%, 62%)
CMYKcmyk(22.3%, 79.6%, 0%, 38.4%)
CIE-LABlab(33.15, 56.10, -49.05)
CIE-LCHlch(33.15, 74.52, 318.84°)
OKLaboklab(44.89% 0.1344 -0.1386)
OKLCHoklch(44.89% 0.193 314.1)
XYZxyz(14.6273, 7.6054, 32.5892)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209D #439D20
analogous
#3C209D #7A209D #9D2082
triadic
#7A209D #9D7A20 #209D7A
tetradic
#7A209D #9D3C20 #439D20 #20829D
square
#7A209D #9D3C20 #439D20 #20829D
split-complementary
#7A209D #829D20 #209D3C
monochromatic
#2B0B37 #52166A #7A209D #A22AD0 #B95ADD

Accessibility & contrast

On white

8.33
#7A209D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7A209D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A209D
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209D#FFFFFF#000000##FFFFFF
##7A209D1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A0
Deuteranopia (green-blind)
#14509A
Tritanopia (blue-blind)
#773E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a209d;
/* rgb */ color: rgb(122, 32, 157);
/* oklch */ color: oklch(44.9% 0.193 314.1);
Tailwind
colors: {
  custom: {
    50: '#a567bb',
    500: '#7a209d',
    950: '#000000',
  },
}
SCSS
$custom: #7a209d;
$custom-light: #a567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209d",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 157
  },
  "hsl": {
    "h": 283.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.44891,
    "c": 0.19305,
    "h": 314.1
  },
  "luminance": 0.07605
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7A209D

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

Preview Lab → · Contrast checker → · Palette generator →

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