#7A207F#7A207F

#7A207F is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 325.7°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7A207F
RGBrgb(122, 32, 127)
HSLhsl(297, 60%, 31%)
HSVhsv(297, 75%, 50%)
CMYKcmyk(3.9%, 74.8%, 0%, 50.2%)
CIE-LABlab(31.12, 50.29, -33.79)
CIE-LCHlch(31.12, 60.59, 326.11°)
OKLaboklab(42.81% 0.1377 -0.0939)
OKLCHoklch(42.81% 0.167 325.7)
XYZxyz(12.3731, 6.7037, 20.7168)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207F #257F20
analogous
#4A207F #7A207F #7F2054
triadic
#7A207F #7F7A20 #207F7A
tetradic
#7A207F #7F4A20 #257F20 #20547F
square
#7A207F #7F4A20 #257F20 #20547F
split-complementary
#7A207F #547F20 #207F4A
monochromatic
#1C071D #4B144E #7A207F #A92CB0 #CA48D1

Accessibility & contrast

On white

8.97
#7A207F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#7A207F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A207F
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207F#FFFFFF#000000##FFFFFF
##7A207F1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044282
Deuteranopia (green-blind)
#354D7D
Tritanopia (blue-blind)
#7D304E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207f;
/* rgb */ color: rgb(122, 32, 127);
/* oklch */ color: oklch(42.8% 0.167 325.7);
Tailwind
colors: {
  custom: {
    50: '#a465a4',
    500: '#7a207f',
    950: '#000000',
  },
}
SCSS
$custom: #7a207f;
$custom-light: #a465a4;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207f",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 127
  },
  "hsl": {
    "h": 296.842,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42812,
    "c": 0.16672,
    "h": 325.7
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#7A207F
secondary
#4EB249
accent
#E3454D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A207F

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

Preview Lab → · Contrast checker → · Palette generator →

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