#7C206D#7C206D

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

Color values

HEX#7C206D
RGBrgb(124, 32, 109)
HSLhsl(310, 59%, 31%)
HSVhsv(310, 74%, 49%)
CMYKcmyk(0%, 74.2%, 12.1%, 51.4%)
CIE-LABlab(30.46, 47.69, -23.41)
CIE-LCHlch(30.46, 53.13, 333.85°)
OKLaboklab(42.07% 0.1393 -0.0639)
OKLCHoklch(42.07% 0.153 335.4)
XYZxyz(11.5892, 6.4233, 15.0945)
Luminance0.0642 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C206D #207C2F
analogous
#5D207C #7C206D #7C203F
triadic
#7C206D #6D7C20 #206D7C
tetradic
#7C206D #7C5D20 #207C2F #203F7C
square
#7C206D #7C5D20 #207C2F #203F7C
split-complementary
#7C206D #3F7C20 #207C5D
monochromatic
#1B0717 #4B1342 #7C206D #AD2D98 #CF47B9

Accessibility & contrast

On white

9.19
#7C206D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#7C206D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C206D
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C206D#FFFFFF#000000##FFFFFF
##7C206D1.009.192.289.19
#FFFFFF9.191.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#203F6F
Deuteranopia (green-blind)
#404D6B
Tritanopia (blue-blind)
#822744
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #7c206d;
/* rgb */ color: rgb(124, 32, 109);
/* oklch */ color: oklch(42.1% 0.153 335.4);
Tailwind
colors: {
  custom: {
    50: '#a56597',
    500: '#7c206d',
    950: '#000000',
  },
}
SCSS
$custom: #7c206d;
$custom-light: #a56597;
$custom-dark: #000000;
JSON
{
  "hex": "#7c206d",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 109
  },
  "hsl": {
    "h": 309.783,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42071,
    "c": 0.15327,
    "h": 335.4
  },
  "luminance": 0.06422
}

Semantic roles & 50–950 ramp

primary
#7C206D
secondary
#49AF59
accent
#E25F46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #7C206D

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

Preview Lab → · Contrast checker → · Palette generator →

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