#7A209B#7A209B

#7A209B is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.7% C 0.191 H 314.8°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7A209B
RGBrgb(122, 32, 155)
HSLhsl(284, 66%, 37%)
HSVhsv(284, 79%, 61%)
CMYKcmyk(21.3%, 79.4%, 0%, 39.2%)
CIE-LABlab(33.00, 55.70, -48.07)
CIE-LCHlch(33.00, 73.57, 319.21°)
OKLaboklab(44.74% 0.1347 -0.1357)
OKLCHoklch(44.74% 0.191 314.8)
XYZxyz(14.4580, 7.5377, 31.6973)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A209B #419B20
analogous
#3C209B #7A209B #9B207F
triadic
#7A209B #9B7A20 #209B7A
tetradic
#7A209B #9B3C20 #419B20 #207F9B
square
#7A209B #9B3C20 #419B20 #207F9B
split-complementary
#7A209B #7F9B20 #209B3C
monochromatic
#2A0B36 #521668 #7A209B #A22ACE #B959DD

Accessibility & contrast

On white

8.38
#7A209B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A209B
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A209B#FFFFFF#000000##FFFFFF
##7A209B1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#185098
Tritanopia (blue-blind)
#773D5D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7a209b;
/* rgb */ color: rgb(122, 32, 155);
/* oklch */ color: oklch(44.7% 0.191 314.8);
Tailwind
colors: {
  custom: {
    50: '#a567b9',
    500: '#7a209b',
    950: '#000000',
  },
}
SCSS
$custom: #7a209b;
$custom-light: #a567b9;
$custom-dark: #000000;
JSON
{
  "hex": "#7a209b",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 155
  },
  "hsl": {
    "h": 283.902,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44742,
    "c": 0.19125,
    "h": 314.8
  },
  "luminance": 0.07537
}

Semantic roles & 50–950 ramp

primary
#7A209B
secondary
#73C156
accent
#E93F6D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7A209B

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

Preview Lab → · Contrast checker → · Palette generator →

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