#7A208C#7A208C

#7A208C is a dark, vivid purple. Relative luminance 0.071; OKLCH L 43.7% C 0.178 H 320.3°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#7A208C
RGBrgb(122, 32, 140)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 55%)
CMYKcmyk(12.9%, 77.1%, 0%, 45.1%)
CIE-LABlab(31.95, 52.73, -40.55)
CIE-LCHlch(31.95, 66.52, 322.44°)
OKLaboklab(43.67% 0.1369 -0.1137)
OKLCHoklch(43.67% 0.178 320.3)
XYZxyz(13.2756, 7.0647, 25.4702)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A208C #328C20
analogous
#44208C #7A208C #8C2068
triadic
#7A208C #8C7A20 #208C7A
tetradic
#7A208C #8C4420 #328C20 #20688C
square
#7A208C #8C4420 #328C20 #20688C
split-complementary
#7A208C #688C20 #208C44
monochromatic
#230928 #4F155A #7A208C #A52BBE #C050D7

Accessibility & contrast

On white

8.70
#7A208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#7A208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A208C
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A208C#FFFFFF#000000##FFFFFF
##7A208C1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#2B4E8A
Tritanopia (blue-blind)
#7B3655
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7a208c;
/* rgb */ color: rgb(122, 32, 140);
/* oklch */ color: oklch(43.7% 0.178 320.3);
Tailwind
colors: {
  custom: {
    50: '#a466ae',
    500: '#7a208c',
    950: '#000000',
  },
}
SCSS
$custom: #7a208c;
$custom-light: #a466ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7a208c",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 290,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4367,
    "c": 0.17795,
    "h": 320.3
  },
  "luminance": 0.07064
}

Semantic roles & 50–950 ramp

primary
#7A208C
secondary
#60BA4E
accent
#E6425D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7A208C

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

Preview Lab → · Contrast checker → · Palette generator →

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