#7D2193#7D2193

#7D2193 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.7% C 0.184 H 318.9°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#7D2193
RGBrgb(125, 33, 147)
HSLhsl(288, 63%, 35%)
HSVhsv(288, 78%, 58%)
CMYKcmyk(15%, 77.6%, 0%, 42.4%)
CIE-LABlab(33.04, 54.35, -43.09)
CIE-LCHlch(33.04, 69.37, 321.59°)
OKLaboklab(44.69% 0.1389 -0.1211)
OKLCHoklch(44.69% 0.184 318.9)
XYZxyz(14.2671, 7.5550, 28.3049)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2193 #379321
analogous
#442193 #7D2193 #932170
triadic
#7D2193 #937D21 #21937D
tetradic
#7D2193 #934421 #379321 #217093
square
#7D2193 #934421 #379321 #217093
split-complementary
#7D2193 #709321 #219344
monochromatic
#280B2F #521661 #7D2193 #A72CC5 #C055D9

Accessibility & contrast

On white

8.36
#7D2193 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#7D2193 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2193
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2193#FFFFFF#000000##FFFFFF
##7D21931.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004896
Deuteranopia (green-blind)
#295190
Tritanopia (blue-blind)
#7D3959
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7d2193;
/* rgb */ color: rgb(125, 33, 147);
/* oklch */ color: oklch(44.7% 0.184 318.9);
Tailwind
colors: {
  custom: {
    50: '#a667b3',
    500: '#7d2193',
    950: '#000000',
  },
}
SCSS
$custom: #7d2193;
$custom-light: #a667b3;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2193",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 147
  },
  "hsl": {
    "h": 288.421,
    "s": 63.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44686,
    "c": 0.18424,
    "h": 318.9
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#7D2193
secondary
#67BD53
accent
#E64161
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #7D2193

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

Preview Lab → · Contrast checker → · Palette generator →

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