#7D2194#7D2194

#7D2194 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.185 H 318.6°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7D2194
RGBrgb(125, 33, 148)
HSLhsl(288, 64%, 35%)
HSVhsv(288, 78%, 58%)
CMYKcmyk(15.5%, 77.7%, 0%, 42%)
CIE-LABlab(33.11, 54.55, -43.60)
CIE-LCHlch(33.11, 69.83, 321.37°)
OKLaboklab(44.76% 0.1388 -0.1225)
OKLCHoklch(44.76% 0.185 318.6)
XYZxyz(14.3459, 7.5865, 28.7199)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2194 #389421
analogous
#432194 #7D2194 #942171
triadic
#7D2194 #947D21 #21947D
tetradic
#7D2194 #944321 #389421 #217194
square
#7D2194 #944321 #389421 #217194
split-complementary
#7D2194 #719421 #219443
monochromatic
#280B30 #531662 #7D2194 #A72CC6 #BF56D9

Accessibility & contrast

On white

8.34
#7D2194 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2194
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2194#FFFFFF#000000##FFFFFF
##7D21941.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004897
Deuteranopia (green-blind)
#285191
Tritanopia (blue-blind)
#7D3A5A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2194;
/* rgb */ color: rgb(125, 33, 148);
/* oklch */ color: oklch(44.8% 0.185 318.6);
Tailwind
colors: {
  custom: {
    50: '#a667b4',
    500: '#7d2194',
    950: '#000000',
  },
}
SCSS
$custom: #7d2194;
$custom-light: #a667b4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2194",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 148
  },
  "hsl": {
    "h": 288,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44756,
    "c": 0.18513,
    "h": 318.6
  },
  "luminance": 0.07586
}

Semantic roles & 50–950 ramp

primary
#7D2194
secondary
#69BD54
accent
#E74162
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2194

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

Preview Lab → · Contrast checker → · Palette generator →

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