#7D2189#7D2189

#7D2189 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.176 H 322.8°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#7D2189
RGBrgb(125, 33, 137)
HSLhsl(293, 61%, 33%)
HSVhsv(293, 76%, 54%)
CMYKcmyk(8.8%, 75.9%, 0%, 46.3%)
CIE-LABlab(32.38, 52.45, -37.98)
CIE-LCHlch(32.38, 64.76, 324.09°)
OKLaboklab(44.01% 0.1399 -0.1061)
OKLCHoklch(44.01% 0.176 322.8)
XYZxyz(13.5162, 7.2546, 24.3504)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2189 #2D8921
analogous
#492189 #7D2189 #892161
triadic
#7D2189 #897D21 #21897D
tetradic
#7D2189 #894921 #2D8921 #216189
square
#7D2189 #894921 #2D8921 #216189
split-complementary
#7D2189 #618921 #218949
monochromatic
#230926 #501558 #7D2189 #AA2DBA #C550D5

Accessibility & contrast

On white

8.57
#7D2189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7D2189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2189
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2189#FFFFFF#000000##FFFFFF
##7D21891.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#325087
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7d2189;
/* rgb */ color: rgb(125, 33, 137);
/* oklch */ color: oklch(44.0% 0.176 322.8);
Tailwind
colors: {
  custom: {
    50: '#a667ac',
    500: '#7d2189',
    950: '#000000',
  },
}
SCSS
$custom: #7d2189;
$custom-light: #a667ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2189",
  "rgb": {
    "r": 125,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 293.077,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44008,
    "c": 0.17555,
    "h": 322.8
  },
  "luminance": 0.07254
}

Semantic roles & 50–950 ramp

primary
#7D2189
secondary
#5AB84E
accent
#E44456
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D2189

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

Preview Lab → · Contrast checker → · Palette generator →

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