#7D2388#7D2388

#7D2388 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.1% C 0.172 H 323.1°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#7D2388
RGBrgb(125, 35, 136)
HSLhsl(293, 59%, 34%)
HSVhsv(293, 74%, 53%)
CMYKcmyk(8.1%, 74.3%, 0%, 46.7%)
CIE-LABlab(32.57, 51.54, -37.06)
CIE-LCHlch(32.57, 63.48, 324.28°)
OKLaboklab(44.12% 0.1379 -0.1034)
OKLCHoklch(44.12% 0.172 323.1)
XYZxyz(13.5020, 7.3404, 23.9934)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2388 #2E8823
analogous
#4A2388 #7D2388 #882360
triadic
#7D2388 #887D23 #23887D
tetradic
#7D2388 #884A23 #2E8823 #236088
square
#7D2388 #884A23 #2E8823 #236088
split-complementary
#7D2388 #608823 #23884A
monochromatic
#240A27 #501657 #7D2388 #AA30B9 #C553D3

Accessibility & contrast

On white

8.51
#7D2388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2388
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2388#FFFFFF#000000##FFFFFF
##7D23881.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#335086
Tritanopia (blue-blind)
#7F3553
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d2388;
/* rgb */ color: rgb(125, 35, 136);
/* oklch */ color: oklch(44.1% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#a668ab',
    500: '#7d2388',
    950: '#000000',
  },
}
SCSS
$custom: #7d2388;
$custom-light: #a668ab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2388",
  "rgb": {
    "r": 125,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 293.465,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44123,
    "c": 0.17241,
    "h": 323.1
  },
  "luminance": 0.0734
}

Semantic roles & 50–950 ramp

primary
#7D2388
secondary
#5BB750
accent
#E24657
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2388

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

Preview Lab → · Contrast checker → · Palette generator →

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