#7B208A#7B208A

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

Color values

HEX#7B208A
RGBrgb(123, 32, 138)
HSLhsl(292, 62%, 33%)
HSVhsv(292, 77%, 54%)
CMYKcmyk(10.9%, 76.8%, 0%, 45.9%)
CIE-LABlab(31.99, 52.55, -39.25)
CIE-LCHlch(31.99, 65.59, 323.25°)
OKLaboklab(43.69% 0.1383 -0.1099)
OKLCHoklch(43.69% 0.177 321.5)
XYZxyz(13.2718, 7.0797, 24.7073)
Luminance0.0708 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B208A #2F8A20
analogous
#46208A #7B208A #8A2064
triadic
#7B208A #8A7B20 #208A7B
tetradic
#7B208A #8A4620 #2F8A20 #20648A
square
#7B208A #8A4620 #2F8A20 #20648A
split-complementary
#7B208A #648A20 #208A46
monochromatic
#220927 #4F1458 #7B208A #A72CBC #C34ED6

Accessibility & contrast

On white

8.69
#7B208A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#7B208A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B208A
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B208A#FFFFFF#000000##FFFFFF
##7B208A1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#7C3554
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7b208a;
/* rgb */ color: rgb(123, 32, 138);
/* oklch */ color: oklch(43.7% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#a566ad',
    500: '#7b208a',
    950: '#000000',
  },
}
SCSS
$custom: #7b208a;
$custom-light: #a566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7b208a",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 138
  },
  "hsl": {
    "h": 291.509,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43685,
    "c": 0.17663,
    "h": 321.5
  },
  "luminance": 0.07079
}

Semantic roles & 50–950 ramp

primary
#7B208A
secondary
#5CB94D
accent
#E54259
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B208A

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

Preview Lab → · Contrast checker → · Palette generator →

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