#7A207D#7A207D

#7A207D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.165 H 326.6°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#7A207D
RGBrgb(122, 32, 125)
HSLhsl(298, 59%, 31%)
HSVhsv(298, 74%, 49%)
CMYKcmyk(2.4%, 74.4%, 0%, 51%)
CIE-LABlab(31.00, 49.93, -32.72)
CIE-LCHlch(31.00, 59.70, 326.76°)
OKLaboklab(42.69% 0.1378 -0.0908)
OKLCHoklch(42.69% 0.165 326.6)
XYZxyz(12.2440, 6.6521, 20.0371)
Luminance0.0665 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207D #237D20
analogous
#4B207D #7A207D #7D2051
triadic
#7A207D #7D7A20 #207D7A
tetradic
#7A207D #7D4B20 #237D20 #20517D
square
#7A207D #7D4B20 #237D20 #20517D
split-complementary
#7A207D #517D20 #207D4B
monochromatic
#1B071C #4A144C #7A207D #AA2CAE #CC47D0

Accessibility & contrast

On white

9.01
#7A207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7A207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A207D
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207D#FFFFFF#000000##FFFFFF
##7A207D1.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094280
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#7D2F4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207d;
/* rgb */ color: rgb(122, 32, 125);
/* oklch */ color: oklch(42.7% 0.165 326.6);
Tailwind
colors: {
  custom: {
    50: '#a465a3',
    500: '#7a207d',
    950: '#000000',
  },
}
SCSS
$custom: #7a207d;
$custom-light: #a465a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207d",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 298.065,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42686,
    "c": 0.16503,
    "h": 326.6
  },
  "luminance": 0.06651
}

Semantic roles & 50–950 ramp

primary
#7A207D
secondary
#4CB049
accent
#E2454A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A207D

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

Preview Lab → · Contrast checker → · Palette generator →

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