#7A207B#7A207B

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

Color values

HEX#7A207B
RGBrgb(122, 32, 123)
HSLhsl(299, 59%, 30%)
HSVhsv(299, 74%, 48%)
CMYKcmyk(0.8%, 74%, 0%, 51.8%)
CIE-LABlab(30.88, 49.57, -31.65)
CIE-LCHlch(30.88, 58.82, 327.44°)
OKLaboklab(42.56% 0.1378 -0.0877)
OKLCHoklch(42.56% 0.163 327.5)
XYZxyz(12.1175, 6.6015, 19.3710)
Luminance0.0660 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A207B #217B20
analogous
#4D207B #7A207B #7B204E
triadic
#7A207B #7B7A20 #207B7A
tetradic
#7A207B #7B4D20 #217B20 #204E7B
square
#7A207B #7B4D20 #217B20 #204E7B
split-complementary
#7A207B #4E7B20 #207B4D
monochromatic
#1A071A #4A134A #7A207B #AA2DAC #CD46CF

Accessibility & contrast

On white

9.05
#7A207B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7A207B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7A207B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A207B#FFFFFF#000000##FFFFFF
##7A207B1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E417E
Deuteranopia (green-blind)
#374D79
Tritanopia (blue-blind)
#7E2E4B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7a207b;
/* rgb */ color: rgb(122, 32, 123);
/* oklch */ color: oklch(42.6% 0.163 327.5);
Tailwind
colors: {
  custom: {
    50: '#a465a1',
    500: '#7a207b',
    950: '#000000',
  },
}
SCSS
$custom: #7a207b;
$custom-light: #a465a1;
$custom-dark: #000000;
JSON
{
  "hex": "#7a207b",
  "rgb": {
    "r": 122,
    "g": 32,
    "b": 123
  },
  "hsl": {
    "h": 299.341,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.42562,
    "c": 0.16335,
    "h": 327.5
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#7A207B
secondary
#4AAE49
accent
#E24648
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7A207B

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

Preview Lab → · Contrast checker → · Palette generator →

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