#7C208F#7C208F

#7C208F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.181 H 320.0°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7C208F
RGBrgb(124, 32, 143)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 78%, 56%)
CMYKcmyk(13.3%, 77.6%, 0%, 43.9%)
CIE-LABlab(32.48, 53.72, -41.53)
CIE-LCHlch(32.48, 67.90, 322.29°)
OKLaboklab(44.18% 0.139 -0.1165)
OKLCHoklch(44.18% 0.181 320)
XYZxyz(13.7860, 7.3020, 26.6645)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208F #338F20
analogous
#45208F #7C208F #8F206B
triadic
#7C208F #8F7C20 #208F7C
tetradic
#7C208F #8F4520 #338F20 #206B8F
square
#7C208F #8F4520 #338F20 #206B8F
split-complementary
#7C208F #6B8F20 #208F45
monochromatic
#250A2B #51155D #7C208F #A72BC1 #C151D8

Accessibility & contrast

On white

8.54
#7C208F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#7C208F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C208F
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208F#FFFFFF#000000##FFFFFF
##7C208F1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004692
Deuteranopia (green-blind)
#2B4F8D
Tritanopia (blue-blind)
#7C3757
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208f;
/* rgb */ color: rgb(124, 32, 143);
/* oklch */ color: oklch(44.2% 0.181 320.0);
Tailwind
colors: {
  custom: {
    50: '#a666b0',
    500: '#7c208f',
    950: '#000000',
  },
}
SCSS
$custom: #7c208f;
$custom-light: #a666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208f",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 143
  },
  "hsl": {
    "h": 289.73,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.1814,
    "h": 320
  },
  "luminance": 0.07301
}

Semantic roles & 50–950 ramp

primary
#7C208F
secondary
#62BB4F
accent
#E6415E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C208F

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

Preview Lab → · Contrast checker → · Palette generator →

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