#7C2099#7C2099

#7C2099 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.190 H 316.4°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7C2099
RGBrgb(124, 32, 153)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 79%, 60%)
CMYKcmyk(19%, 79.1%, 0%, 40%)
CIE-LABlab(33.18, 55.68, -46.55)
CIE-LCHlch(33.18, 72.57, 320.10°)
OKLaboklab(44.88% 0.1377 -0.1312)
OKLCHoklch(44.88% 0.19 316.4)
XYZxyz(14.5776, 7.6186, 30.8335)
Luminance0.0762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2099 #3D9920
analogous
#402099 #7C2099 #99207A
triadic
#7C2099 #997C20 #20997C
tetradic
#7C2099 #994020 #3D9920 #207A99
square
#7C2099 #994020 #3D9920 #207A99
split-complementary
#7C2099 #7A9920 #209940
monochromatic
#2A0B34 #531566 #7C2099 #A52BCC #BC57DC

Accessibility & contrast

On white

8.32
#7C2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#7C2099 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2099
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2099#FFFFFF#000000##FFFFFF
##7C20991.008.322.528.32
#FFFFFF8.321.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#1F5196
Tritanopia (blue-blind)
#7A3C5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2099;
/* rgb */ color: rgb(124, 32, 153);
/* oklch */ color: oklch(44.9% 0.190 316.4);
Tailwind
colors: {
  custom: {
    50: '#a667b8',
    500: '#7c2099',
    950: '#000000',
  },
}
SCSS
$custom: #7c2099;
$custom-light: #a667b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2099",
  "rgb": {
    "r": 124,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 285.62,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44884,
    "c": 0.19018,
    "h": 316.4
  },
  "luminance": 0.07618
}

Semantic roles & 50–950 ramp

primary
#7C2099
secondary
#6FC055
accent
#E83F68
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7C2099

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

Preview Lab → · Contrast checker → · Palette generator →

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