#7A209E#7A209E

#7A209E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 45.0% C 0.194 H 313.8°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7A209E
RGBrgb(122, 32, 158)
HSLhsl(283, 66%, 37%)
HSVhsv(283, 80%, 62%)
CMYKcmyk(22.8%, 79.7%, 0%, 38%)
CIE-LABlab(33.22, 56.31, -49.53)
CIE-LCHlch(33.22, 74.99, 318.66°)
OKLaboklab(44.97% 0.1342 -0.1401)
OKLCHoklch(44.97% 0.194 313.8)
XYZxyz(14.7130, 7.6397, 33.0407)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209E #449E20
analogous
#3B209E #7A209E #9E2083
triadic
#7A209E #9E7A20 #209E7A
tetradic
#7A209E #9E3B20 #449E20 #20839E
square
#7A209E #9E3B20 #449E20 #20839E
split-complementary
#7A209E #839E20 #209E3B
monochromatic
#2B0B38 #53166B #7A209E #A12AD1 #B85BDE

Accessibility & contrast

On white

8.31
#7A209E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A209E
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209E#FFFFFF#000000##FFFFFF
##7A209E1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#12509B
Tritanopia (blue-blind)
#763E5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a209e;
/* rgb */ color: rgb(122, 32, 158);
/* oklch */ color: oklch(45.0% 0.194 313.8);
Tailwind
colors: {
  custom: {
    50: '#a567bb',
    500: '#7a209e',
    950: '#000000',
  },
}
SCSS
$custom: #7a209e;
$custom-light: #a567bb;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209e",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 158
  },
  "hsl": {
    "h": 282.857,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44966,
    "c": 0.19395,
    "h": 313.8
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#7A209E
secondary
#76C258
accent
#E93F6F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A209E

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

Preview Lab → · Contrast checker → · Palette generator →

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