#7C208D#7C208D

#7C208D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.180 H 320.8°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7C208D
RGBrgb(124, 32, 141)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 55%)
CMYKcmyk(12.1%, 77.3%, 0%, 44.7%)
CIE-LABlab(32.35, 53.34, -40.51)
CIE-LCHlch(32.35, 66.98, 322.78°)
OKLaboklab(44.04% 0.1392 -0.1135)
OKLCHoklch(44.04% 0.18 320.8)
XYZxyz(13.6358, 7.2419, 25.8737)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208D #318D20
analogous
#46208D #7C208D #8D2068
triadic
#7C208D #8D7C20 #208D7C
tetradic
#7C208D #8D4620 #318D20 #20688D
square
#7C208D #8D4620 #318D20 #20688D
split-complementary
#7C208D #688D20 #208D46
monochromatic
#240929 #50155B #7C208D #A82BBF #C250D7

Accessibility & contrast

On white

8.58
#7C208D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C208D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C208D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208D#FFFFFF#000000##FFFFFF
##7C208D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2D4F8B
Tritanopia (blue-blind)
#7D3655
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208d;
/* rgb */ color: rgb(124, 32, 141);
/* oklch */ color: oklch(44.0% 0.180 320.8);
Tailwind
colors: {
  custom: {
    50: '#a666af',
    500: '#7c208d',
    950: '#000000',
  },
}
SCSS
$custom: #7c208d;
$custom-light: #a666af;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208d",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 141
  },
  "hsl": {
    "h": 290.642,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.44039,
    "c": 0.17966,
    "h": 320.8
  },
  "luminance": 0.07241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7C208D

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

Preview Lab → · Contrast checker → · Palette generator →

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