#7D2199#7D2199

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

Color values

HEX#7D2199
RGBrgb(125, 33, 153)
HSLhsl(286, 65%, 36%)
HSVhsv(286, 78%, 60%)
CMYKcmyk(18.3%, 78.4%, 0%, 40%)
CIE-LABlab(33.45, 55.53, -46.10)
CIE-LCHlch(33.45, 72.17, 320.31°)
OKLaboklab(45.11% 0.1381 -0.1299)
OKLCHoklch(45.11% 0.19 316.8)
XYZxyz(14.7502, 7.7482, 30.8494)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2199 #3D9921
analogous
#412199 #7D2199 #992179
triadic
#7D2199 #997D21 #21997D
tetradic
#7D2199 #994121 #3D9921 #217999
square
#7D2199 #994121 #3D9921 #217999
split-complementary
#7D2199 #799921 #219941
monochromatic
#2B0B34 #541667 #7D2199 #A62CCB #BD59DB

Accessibility & contrast

On white

8.24
#7D2199 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#7D2199 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2199
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2199#FFFFFF#000000##FFFFFF
##7D21991.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499C
Deuteranopia (green-blind)
#225196
Tritanopia (blue-blind)
#7B3C5D
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7d2199;
/* rgb */ color: rgb(125, 33, 153);
/* oklch */ color: oklch(45.1% 0.190 316.8);
Tailwind
colors: {
  custom: {
    50: '#a768b8',
    500: '#7d2199',
    950: '#000000',
  },
}
SCSS
$custom: #7d2199;
$custom-light: #a768b8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2199",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 153
  },
  "hsl": {
    "h": 286,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.18954,
    "h": 316.8
  },
  "luminance": 0.07748
}

Semantic roles & 50–950 ramp

primary
#7D2199
secondary
#6FBF56
accent
#E84067
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2199

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

Preview Lab → · Contrast checker → · Palette generator →

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