#7C208B#7C208B

#7C208B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.178 H 321.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7C208B
RGBrgb(124, 32, 139)
HSLhsl(292, 63%, 34%)
HSVhsv(292, 77%, 55%)
CMYKcmyk(10.8%, 77%, 0%, 45.5%)
CIE-LABlab(32.22, 52.96, -39.49)
CIE-LCHlch(32.22, 66.06, 323.29°)
OKLaboklab(43.9% 0.1394 -0.1105)
OKLCHoklch(43.9% 0.178 321.6)
XYZxyz(13.4884, 7.1829, 25.0971)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208B #2F8B20
analogous
#46208B #7C208B #8B2064
triadic
#7C208B #8B7C20 #208B7C
tetradic
#7C208B #8B4620 #2F8B20 #20648B
square
#7C208B #8B4620 #2F8B20 #20648B
split-complementary
#7C208B #648B20 #208B46
monochromatic
#230928 #501559 #7C208B #A82BBD #C34FD6

Accessibility & contrast

On white

8.62
#7C208B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C208B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C208B
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208B#FFFFFF#000000##FFFFFF
##7C208B1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#2E4F89
Tritanopia (blue-blind)
#7D3554
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208b;
/* rgb */ color: rgb(124, 32, 139);
/* oklch */ color: oklch(43.9% 0.178 321.6);
Tailwind
colors: {
  custom: {
    50: '#a566ad',
    500: '#7c208b',
    950: '#000000',
  },
}
SCSS
$custom: #7c208b;
$custom-light: #a566ad;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208b",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 139
  },
  "hsl": {
    "h": 291.589,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.17793,
    "h": 321.6
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#7C208B
secondary
#5CBA4D
accent
#E64259
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C208B

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

Preview Lab → · Contrast checker → · Palette generator →

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