#7A206E#7A206E

#7A206E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.8% C 0.153 H 333.9°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7A206E
RGBrgb(122, 32, 110)
HSLhsl(308, 58%, 30%)
HSVhsv(308, 74%, 48%)
CMYKcmyk(0%, 73.8%, 9.8%, 52.2%)
CIE-LABlab(30.15, 47.35, -24.56)
CIE-LCHlch(30.15, 53.34, 332.59°)
OKLaboklab(41.8% 0.1372 -0.0672)
OKLCHoklch(41.8% 0.153 333.9)
XYZxyz(11.3571, 6.2973, 15.3662)
Luminance0.0630 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A206E #207A2C
analogous
#59207A #7A206E #7A2041
triadic
#7A206E #6E7A20 #206E7A
tetradic
#7A206E #7A5920 #207A2C #20417A
square
#7A206E #7A5920 #207A2C #20417A
split-complementary
#7A206E #417A20 #207A59
monochromatic
#190717 #4A1342 #7A206E #AA2D9A #CE46BC

Accessibility & contrast

On white

9.30
#7A206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#7A206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A206E
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A206E#FFFFFF#000000##FFFFFF
##7A206E1.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3F70
Deuteranopia (green-blind)
#3E4C6C
Tritanopia (blue-blind)
#802844
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a206e;
/* rgb */ color: rgb(122, 32, 110);
/* oklch */ color: oklch(41.8% 0.153 333.9);
Tailwind
colors: {
  custom: {
    50: '#a46598',
    500: '#7a206e',
    950: '#000000',
  },
}
SCSS
$custom: #7a206e;
$custom-light: #a46598;
$custom-dark: #000000;
JSON
{
  "hex": "#7a206e",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 308,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41799,
    "c": 0.15281,
    "h": 333.9
  },
  "luminance": 0.06296
}

Semantic roles & 50–950 ramp

primary
#7A206E
secondary
#49AD56
accent
#E25B46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7A206E

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

Preview Lab → · Contrast checker → · Palette generator →

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