#7D2389#7D2389

#7D2389 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 322.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#7D2389
RGBrgb(125, 35, 137)
HSLhsl(293, 59%, 34%)
HSVhsv(293, 74%, 54%)
CMYKcmyk(8.8%, 74.5%, 0%, 46.3%)
CIE-LABlab(32.63, 51.73, -37.58)
CIE-LCHlch(32.63, 63.94, 324.00°)
OKLaboklab(44.19% 0.1379 -0.1049)
OKLCHoklch(44.19% 0.173 322.7)
XYZxyz(13.5734, 7.3690, 24.3695)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2389 #2F8923
analogous
#4A2389 #7D2389 #892362
triadic
#7D2389 #897D23 #23897D
tetradic
#7D2389 #894A23 #2F8923 #236289
square
#7D2389 #894A23 #2F8923 #236289
split-complementary
#7D2389 #628923 #23894A
monochromatic
#240A28 #511758 #7D2389 #A92FBA #C453D3

Accessibility & contrast

On white

8.49
#7D2389 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#7D2389 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2389
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2389#FFFFFF#000000##FFFFFF
##7D23891.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#335087
Tritanopia (blue-blind)
#7F3654
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2389;
/* rgb */ color: rgb(125, 35, 137);
/* oklch */ color: oklch(44.2% 0.173 322.7);
Tailwind
colors: {
  custom: {
    50: '#a668ac',
    500: '#7d2389',
    950: '#000000',
  },
}
SCSS
$custom: #7d2389;
$custom-light: #a668ac;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2389",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 137
  },
  "hsl": {
    "h": 292.941,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.44189,
    "c": 0.17328,
    "h": 322.7
  },
  "luminance": 0.07368
}

Semantic roles & 50–950 ramp

primary
#7D2389
secondary
#5DB751
accent
#E24558
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2389

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

Preview Lab → · Contrast checker → · Palette generator →

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