#7D2192#7D2192

#7D2192 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.6% C 0.183 H 319.3°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7D2192
RGBrgb(125, 33, 146)
HSLhsl(289, 63%, 35%)
HSVhsv(289, 77%, 57%)
CMYKcmyk(14.4%, 77.4%, 0%, 42.7%)
CIE-LABlab(32.97, 54.16, -42.59)
CIE-LCHlch(32.97, 68.90, 321.82°)
OKLaboklab(44.62% 0.139 -0.1196)
OKLCHoklch(44.62% 0.183 319.3)
XYZxyz(14.1889, 7.5237, 27.8934)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2192 #369221
analogous
#452192 #7D2192 #92216E
triadic
#7D2192 #927D21 #21927D
tetradic
#7D2192 #924521 #369221 #216E92
square
#7D2192 #924521 #369221 #216E92
split-complementary
#7D2192 #6E9221 #219245
monochromatic
#280A2E #521660 #7D2192 #A82CC4 #C055D9

Accessibility & contrast

On white

8.38
#7D2192 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D2192 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2192
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2192#FFFFFF#000000##FFFFFF
##7D21921.008.382.508.38
#FFFFFF8.381.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004895
Deuteranopia (green-blind)
#2A518F
Tritanopia (blue-blind)
#7D3959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2192;
/* rgb */ color: rgb(125, 33, 146);
/* oklch */ color: oklch(44.6% 0.183 319.3);
Tailwind
colors: {
  custom: {
    50: '#a667b3',
    500: '#7d2192',
    950: '#000000',
  },
}
SCSS
$custom: #7d2192;
$custom-light: #a667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2192",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 146
  },
  "hsl": {
    "h": 288.85,
    "s": 63.128,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44617,
    "c": 0.18337,
    "h": 319.3
  },
  "luminance": 0.07523
}

Semantic roles & 50–950 ramp

primary
#7D2192
secondary
#66BC53
accent
#E64260
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2192

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

Preview Lab → · Contrast checker → · Palette generator →

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