#7C207D#7C207D

#7C207D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.166 H 327.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7C207D
RGBrgb(124, 32, 125)
HSLhsl(299, 59%, 31%)
HSVhsv(299, 74%, 49%)
CMYKcmyk(0.8%, 74.4%, 0%, 51%)
CIE-LABlab(31.35, 50.39, -32.15)
CIE-LCHlch(31.35, 59.78, 327.46°)
OKLaboklab(43% 0.1401 -0.0891)
OKLCHoklch(43% 0.166 327.5)
XYZxyz(12.5302, 6.7997, 20.0506)
Luminance0.0680 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C207D #217D20
analogous
#4D207D #7C207D #7D204F
triadic
#7C207D #7D7C20 #207D7C
tetradic
#7C207D #7D4D20 #217D20 #204F7D
square
#7C207D #7D4D20 #217D20 #204F7D
split-complementary
#7C207D #4F7D20 #207D4D
monochromatic
#1B071C #4C144C #7C207D #AC2CAE #CF47D0

Accessibility & contrast

On white

8.90
#7C207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#7C207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C207D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C207D#FFFFFF#000000##FFFFFF
##7C207D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4280
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#802F4D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c207d;
/* rgb */ color: rgb(124, 32, 125);
/* oklch */ color: oklch(43.0% 0.166 327.5);
Tailwind
colors: {
  custom: {
    50: '#a566a3',
    500: '#7c207d',
    950: '#000000',
  },
}
SCSS
$custom: #7c207d;
$custom-light: #a566a3;
$custom-dark: #000000;
JSON
{
  "hex": "#7c207d",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 299.355,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.43,
    "c": 0.16604,
    "h": 327.5
  },
  "luminance": 0.06799
}

Semantic roles & 50–950 ramp

primary
#7C207D
secondary
#4AB049
accent
#E24547
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10060F
muted
#7F7A7F

Preview Lab

Preview with #7C207D

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

Preview Lab → · Contrast checker → · Palette generator →

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