#7B208C#7B208C

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

Color values

HEX#7B208C
RGBrgb(123, 32, 140)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 55%)
CMYKcmyk(12.1%, 77.1%, 0%, 45.1%)
CIE-LABlab(32.12, 52.94, -40.28)
CIE-LCHlch(32.12, 66.52, 322.73°)
OKLaboklab(43.82% 0.1381 -0.1129)
OKLCHoklch(43.82% 0.178 320.7)
XYZxyz(13.4180, 7.1381, 25.4769)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7B208C #318C20
analogous
#45208C #7B208C #8C2067
triadic
#7B208C #8C7B20 #208C7B
tetradic
#7B208C #8C4520 #318C20 #20678C
square
#7B208C #8C4520 #318C20 #20678C
split-complementary
#7B208C #678C20 #208C45
monochromatic
#230928 #4F155A #7B208C #A72BBE #C250D7

Accessibility & contrast

On white

8.65
#7B208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7B208C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7B208C
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7B208C#FFFFFF#000000##FFFFFF
##7B208C1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#7C3655
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7b208c;
/* rgb */ color: rgb(123, 32, 140);
/* oklch */ color: oklch(43.8% 0.178 320.7);
Tailwind
colors: {
  custom: {
    50: '#a566ae',
    500: '#7b208c',
    950: '#000000',
  },
}
SCSS
$custom: #7b208c;
$custom-light: #a566ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7b208c",
  "rgb": {
    "r": 123,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 290.556,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4382,
    "c": 0.17836,
    "h": 320.7
  },
  "luminance": 0.07137
}

Semantic roles & 50–950 ramp

primary
#7B208C
secondary
#5FBA4E
accent
#E6425C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7B208C

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

Preview Lab → · Contrast checker → · Palette generator →

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