#7C208E#7C208E

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

Color values

HEX#7C208E
RGBrgb(124, 32, 142)
HSLhsl(290, 63%, 34%)
HSVhsv(290, 77%, 56%)
CMYKcmyk(12.7%, 77.5%, 0%, 44.3%)
CIE-LABlab(32.42, 53.53, -41.02)
CIE-LCHlch(32.42, 67.44, 322.53°)
OKLaboklab(44.11% 0.1391 -0.115)
OKLCHoklch(44.11% 0.181 320.4)
XYZxyz(13.7106, 7.2718, 26.2674)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C208E #328E20
analogous
#45208E #7C208E #8E2069
triadic
#7C208E #8E7C20 #208E7C
tetradic
#7C208E #8E4520 #328E20 #20698E
square
#7C208E #8E4520 #328E20 #20698E
split-complementary
#7C208E #698E20 #208E45
monochromatic
#25092A #50155C #7C208E #A82BC0 #C251D8

Accessibility & contrast

On white

8.56
#7C208E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C208E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C208E#FFFFFF#000000##FFFFFF
##7C208E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#2C4F8C
Tritanopia (blue-blind)
#7D3756
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c208e;
/* rgb */ color: rgb(124, 32, 142);
/* oklch */ color: oklch(44.1% 0.181 320.4);
Tailwind
colors: {
  custom: {
    50: '#a666b0',
    500: '#7c208e',
    950: '#000000',
  },
}
SCSS
$custom: #7c208e;
$custom-light: #a666b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c208e",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 142
  },
  "hsl": {
    "h": 290.182,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.44107,
    "c": 0.18053,
    "h": 320.4
  },
  "luminance": 0.07271
}

Semantic roles & 50–950 ramp

primary
#7C208E
secondary
#61BB4F
accent
#E6425C
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C208E

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

Preview Lab → · Contrast checker → · Palette generator →

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