#7A207C#7A207C

#7A207C is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.164 H 327.1°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7A207C
RGBrgb(122, 32, 124)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 74%, 49%)
CMYKcmyk(1.6%, 74.2%, 0%, 51.4%)
CIE-LABlab(30.94, 49.75, -32.19)
CIE-LCHlch(30.94, 59.25, 327.10°)
OKLaboklab(42.62% 0.1378 -0.0893)
OKLCHoklch(42.62% 0.164 327.1)
XYZxyz(12.1804, 6.6267, 19.7024)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207C #227C20
analogous
#4C207C #7A207C #7C2050
triadic
#7A207C #7C7A20 #207C7A
tetradic
#7A207C #7C4C20 #227C20 #20507C
square
#7A207C #7C4C20 #227C20 #20507C
split-complementary
#7A207C #507C20 #207C4C
monochromatic
#1A071B #4A134B #7A207C #AA2DAD #CD47CF

Accessibility & contrast

On white

9.03
#7A207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7A207C
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207C#FFFFFF#000000##FFFFFF
##7A207C1.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417F
Deuteranopia (green-blind)
#374D7A
Tritanopia (blue-blind)
#7E2F4C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207c;
/* rgb */ color: rgb(122, 32, 124);
/* oklch */ color: oklch(42.6% 0.164 327.1);
Tailwind
colors: {
  custom: {
    50: '#a465a2',
    500: '#7a207c',
    950: '#000000',
  },
}
SCSS
$custom: #7a207c;
$custom-light: #a465a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207c",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 298.696,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42624,
    "c": 0.16419,
    "h": 327.1
  },
  "luminance": 0.06626
}

Semantic roles & 50–950 ramp

primary
#7A207C
secondary
#4BAF49
accent
#E24649
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A207C

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

Preview Lab → · Contrast checker → · Palette generator →

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