#7C209C#7C209C

#7C209C is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.1% C 0.193 H 315.3°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#7C209C
RGBrgb(124, 32, 156)
HSLhsl(285, 66%, 37%)
HSVhsv(285, 79%, 61%)
CMYKcmyk(20.5%, 79.5%, 0%, 38.8%)
CIE-LABlab(33.39, 56.28, -48.03)
CIE-LCHlch(33.39, 73.99, 319.52°)
OKLaboklab(45.1% 0.1371 -0.1356)
OKLCHoklch(45.1% 0.193 315.3)
XYZxyz(14.8285, 7.7190, 32.1549)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C209C #409C20
analogous
#3E209C #7C209C #9C207E
triadic
#7C209C #9C7C20 #209C7C
tetradic
#7C209C #9C3E20 #409C20 #207E9C
square
#7C209C #9C3E20 #409C20 #207E9C
split-complementary
#7C209C #7E9C20 #209C3E
monochromatic
#2B0B36 #541669 #7C209C #A42ACF #BB59DD

Accessibility & contrast

On white

8.26
#7C209C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#7C209C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C209C
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C209C#FFFFFF#000000##FFFFFF
##7C209C1.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499F
Deuteranopia (green-blind)
#1B5199
Tritanopia (blue-blind)
#793D5E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c209c;
/* rgb */ color: rgb(124, 32, 156);
/* oklch */ color: oklch(45.1% 0.193 315.3);
Tailwind
colors: {
  custom: {
    50: '#a667ba',
    500: '#7c209c',
    950: '#000000',
  },
}
SCSS
$custom: #7c209c;
$custom-light: #a667ba;
$custom-dark: #000000;
JSON
{
  "hex": "#7c209c",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 156
  },
  "hsl": {
    "h": 284.516,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.45103,
    "c": 0.19284,
    "h": 315.3
  },
  "luminance": 0.07718
}

Semantic roles & 50–950 ramp

primary
#7C209C
secondary
#72C157
accent
#E93F6B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #7C209C

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

Preview Lab → · Contrast checker → · Palette generator →

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