#7C207C#7C207C

#7C207C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.165 H 328.0°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#7C207C
RGBrgb(124, 32, 124)
HSLhsl(300, 59%, 31%)
HSVhsv(300, 74%, 49%)
CMYKcmyk(0%, 74.2%, 0%, 51.4%)
CIE-LABlab(31.29, 50.22, -31.62)
CIE-LCHlch(31.29, 59.34, 327.80°)
OKLaboklab(42.94% 0.1401 -0.0876)
OKLCHoklch(42.94% 0.165 328)
XYZxyz(12.4666, 6.7742, 19.7158)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C207C #207C20
analogous
#4E207C #7C207C #7C204E
triadic
#7C207C #7C7C20 #207C7C
tetradic
#7C207C #7C4E20 #207C20 #204E7C
square
#7C207C #7C4E20 #207C20 #204E7C
split-complementary
#7C207C #4E7C20 #207C4E
monochromatic
#1B071B #4B134B #7C207C #AD2DAD #CF47CF

Accessibility & contrast

On white

8.92
#7C207C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#7C207C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C207C
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C207C#FFFFFF#000000##FFFFFF
##7C207C1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F427F
Deuteranopia (green-blind)
#394E7A
Tritanopia (blue-blind)
#802E4C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c207c;
/* rgb */ color: rgb(124, 32, 124);
/* oklch */ color: oklch(42.9% 0.165 328.0);
Tailwind
colors: {
  custom: {
    50: '#a566a2',
    500: '#7c207c',
    950: '#000000',
  },
}
SCSS
$custom: #7c207c;
$custom-light: #a566a2;
$custom-dark: #000000;
JSON
{
  "hex": "#7c207c",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 124
  },
  "hsl": {
    "h": 300,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42939,
    "c": 0.16521,
    "h": 328
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#7C207C
secondary
#49AF49
accent
#E24646
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C207C

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

Preview Lab → · Contrast checker → · Palette generator →

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