#7A206C#7A206C

#7A206C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.151 H 335.0°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#7A206C
RGBrgb(122, 32, 108)
HSLhsl(309, 58%, 30%)
HSVhsv(309, 74%, 48%)
CMYKcmyk(0%, 73.8%, 11.5%, 52.2%)
CIE-LABlab(30.05, 47.02, -23.44)
CIE-LCHlch(30.05, 52.54, 333.50°)
OKLaboklab(41.69% 0.137 -0.064)
OKLCHoklch(41.69% 0.151 335)
XYZxyz(11.2495, 6.2543, 14.7992)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A206C #207A2E
analogous
#5B207A #7A206C #7A203F
triadic
#7A206C #6C7A20 #206C7A
tetradic
#7A206C #7A5B20 #207A2E #203F7A
square
#7A206C #7A5B20 #207A2E #203F7A
split-complementary
#7A206C #3F7A20 #207A5B
monochromatic
#190716 #4A1341 #7A206C #AA2D97 #CE46B9

Accessibility & contrast

On white

9.33
#7A206C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#7A206C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A206C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A206C#FFFFFF#000000##FFFFFF
##7A206C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203E6E
Deuteranopia (green-blind)
#3F4C6A
Tritanopia (blue-blind)
#802743
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a206c;
/* rgb */ color: rgb(122, 32, 108);
/* oklch */ color: oklch(41.7% 0.151 335.0);
Tailwind
colors: {
  custom: {
    50: '#a46596',
    500: '#7a206c',
    950: '#000000',
  },
}
SCSS
$custom: #7a206c;
$custom-light: #a46596;
$custom-dark: #000000;
JSON
{
  "hex": "#7a206c",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 108
  },
  "hsl": {
    "h": 309.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41689,
    "c": 0.15126,
    "h": 335
  },
  "luminance": 0.06253
}

Semantic roles & 50–950 ramp

primary
#7A206C
secondary
#49AD58
accent
#E25E46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A206C

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

Preview Lab → · Contrast checker → · Palette generator →

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