#7C206E#7C206E

#7C206E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.154 H 334.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#7C206E
RGBrgb(124, 32, 110)
HSLhsl(309, 59%, 31%)
HSVhsv(309, 74%, 49%)
CMYKcmyk(0%, 74.2%, 11.3%, 51.4%)
CIE-LABlab(30.51, 47.86, -23.97)
CIE-LCHlch(30.51, 53.52, 333.39°)
OKLaboklab(42.13% 0.1394 -0.0655)
OKLCHoklch(42.13% 0.154 334.8)
XYZxyz(11.6433, 6.4449, 15.3796)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C206E #207C2E
analogous
#5C207C #7C206E #7C2040
triadic
#7C206E #6E7C20 #206E7C
tetradic
#7C206E #7C5C20 #207C2E #20407C
square
#7C206E #7C5C20 #207C2E #20407C
split-complementary
#7C206E #407C20 #207C5C
monochromatic
#1B0718 #4B1343 #7C206E #AD2D99 #CF47BB

Accessibility & contrast

On white

9.18
#7C206E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#7C206E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C206E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C206E#FFFFFF#000000##FFFFFF
##7C206E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3F70
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#822744
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c206e;
/* rgb */ color: rgb(124, 32, 110);
/* oklch */ color: oklch(42.1% 0.154 334.8);
Tailwind
colors: {
  custom: {
    50: '#a56598',
    500: '#7c206e',
    950: '#000000',
  },
}
SCSS
$custom: #7c206e;
$custom-light: #a56598;
$custom-dark: #000000;
JSON
{
  "hex": "#7c206e",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 110
  },
  "hsl": {
    "h": 309.13,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42126,
    "c": 0.15403,
    "h": 334.8
  },
  "luminance": 0.06444
}

Semantic roles & 50–950 ramp

primary
#7C206E
secondary
#49AF58
accent
#E25D46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C206E

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

Preview Lab → · Contrast checker → · Palette generator →

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