#7A206F#7A206F

#7A206F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.154 H 333.4°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#7A206F
RGBrgb(122, 32, 111)
HSLhsl(307, 58%, 30%)
HSVhsv(307, 74%, 48%)
CMYKcmyk(0%, 73.8%, 9%, 52.2%)
CIE-LABlab(30.20, 47.51, -25.11)
CIE-LCHlch(30.20, 53.74, 332.14°)
OKLaboklab(41.86% 0.1373 -0.0688)
OKLCHoklch(41.86% 0.154 333.4)
XYZxyz(11.4119, 6.3192, 15.6545)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A206F #207A2B
analogous
#58207A #7A206F #7A2042
triadic
#7A206F #6F7A20 #206F7A
tetradic
#7A206F #7A5820 #207A2B #20427A
square
#7A206F #7A5820 #207A2B #20427A
split-complementary
#7A206F #427A20 #207A58
monochromatic
#190717 #4A1343 #7A206F #AA2D9B #CE46BE

Accessibility & contrast

On white

9.28
#7A206F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A206F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A206F#FFFFFF#000000##FFFFFF
##7A206F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3F71
Deuteranopia (green-blind)
#3E4C6D
Tritanopia (blue-blind)
#802845
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #7a206f;
/* rgb */ color: rgb(122, 32, 111);
/* oklch */ color: oklch(41.9% 0.154 333.4);
Tailwind
colors: {
  custom: {
    50: '#a46598',
    500: '#7a206f',
    950: '#000000',
  },
}
SCSS
$custom: #7a206f;
$custom-light: #a46598;
$custom-dark: #000000;
JSON
{
  "hex": "#7a206f",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 111
  },
  "hsl": {
    "h": 307.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41855,
    "c": 0.15359,
    "h": 333.4
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#7A206F
secondary
#49AD55
accent
#E25946
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #7A206F

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

Preview Lab → · Contrast checker → · Palette generator →

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