#7D2099#7D2099

#7D2099 is a mid, vivid purple. Relative luminance 0.077; OKLCH L 45.0% C 0.191 H 316.8°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#7D2099
RGBrgb(125, 32, 153)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 79%, 60%)
CMYKcmyk(18.3%, 79.1%, 0%, 40%)
CIE-LABlab(33.34, 55.87, -46.28)
CIE-LCHlch(33.34, 72.55, 320.36°)
OKLaboklab(45.03% 0.1389 -0.1304)
OKLCHoklch(45.03% 0.191 316.8)
XYZxyz(14.7229, 7.6935, 30.8403)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2099 #3C9920
analogous
#412099 #7D2099 #992079
triadic
#7D2099 #997D20 #20997D
tetradic
#7D2099 #994120 #3C9920 #207999
square
#7D2099 #994120 #3C9920 #207999
split-complementary
#7D2099 #799920 #209941
monochromatic
#2A0B34 #541566 #7D2099 #A62BCC #BD57DC

Accessibility & contrast

On white

8.27
#7D2099 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2099
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2099#FFFFFF#000000##FFFFFF
##7D20991.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#215196
Tritanopia (blue-blind)
#7B3B5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2099;
/* rgb */ color: rgb(125, 32, 153);
/* oklch */ color: oklch(45.0% 0.191 316.8);
Tailwind
colors: {
  custom: {
    50: '#a767b8',
    500: '#7d2099',
    950: '#000000',
  },
}
SCSS
$custom: #7d2099;
$custom-light: #a767b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2099",
  "rgb": {
    "r": 125,
    "g": 32,
    "b": 153
  },
  "hsl": {
    "h": 286.116,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.45029,
    "c": 0.19054,
    "h": 316.8
  },
  "luminance": 0.07693
}

Semantic roles & 50–950 ramp

primary
#7D2099
secondary
#6EC055
accent
#E83F67
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2099

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

Preview Lab → · Contrast checker → · Palette generator →

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