#7C208C#7C208C

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

Color values

HEX#7C208C
RGBrgb(124, 32, 140)
HSLhsl(291, 63%, 34%)
HSVhsv(291, 77%, 55%)
CMYKcmyk(11.4%, 77.1%, 0%, 45.1%)
CIE-LABlab(32.29, 53.15, -40.00)
CIE-LCHlch(32.29, 66.52, 323.03°)
OKLaboklab(43.97% 0.1393 -0.112)
OKLCHoklch(43.97% 0.179 321.2)
XYZxyz(13.5618, 7.2123, 25.4836)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208C #308C20
analogous
#46208C #7C208C #8C2066
triadic
#7C208C #8C7C20 #208C7C
tetradic
#7C208C #8C4620 #308C20 #20668C
square
#7C208C #8C4620 #308C20 #20668C
split-complementary
#7C208C #668C20 #208C46
monochromatic
#240928 #50155A #7C208C #A82BBE #C350D7

Accessibility & contrast

On white

8.60
#7C208C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C208C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208C#FFFFFF#000000##FFFFFF
##7C208C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#7D3655
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208c;
/* rgb */ color: rgb(124, 32, 140);
/* oklch */ color: oklch(44.0% 0.179 321.2);
Tailwind
colors: {
  custom: {
    50: '#a566ae',
    500: '#7c208c',
    950: '#000000',
  },
}
SCSS
$custom: #7c208c;
$custom-light: #a566ae;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208c",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 140
  },
  "hsl": {
    "h": 291.111,
    "s": 62.791,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43971,
    "c": 0.17879,
    "h": 321.2
  },
  "luminance": 0.07212
}

Semantic roles & 50–950 ramp

primary
#7C208C
secondary
#5EBA4E
accent
#E6425A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C208C

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

Preview Lab → · Contrast checker → · Palette generator →

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