#7D2E88#7D2E88

#7D2E88 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.158 H 322.6°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#7D2E88
RGBrgb(125, 46, 136)
HSLhsl(293, 49%, 36%)
HSVhsv(293, 66%, 53%)
CMYKcmyk(8.1%, 66.2%, 0%, 46.7%)
CIE-LABlab(34.17, 47.02, -34.50)
CIE-LCHlch(34.17, 58.32, 323.73°)
OKLaboklab(45.28% 0.1256 -0.096)
OKLCHoklch(45.28% 0.158 322.6)
XYZxyz(13.8779, 8.0923, 24.1188)
Luminance0.0809 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E88 #39882E
analogous
#502E88 #7D2E88 #882E66
triadic
#7D2E88 #887D2E #2E887D
tetradic
#7D2E88 #88502E #39882E #2E6688
square
#7D2E88 #88502E #39882E #2E6688
split-complementary
#7D2E88 #66882E #2E8850
monochromatic
#290F2D #531F5A #7D2E88 #A73DB6 #BF65CB

Accessibility & contrast

On white

8.02
#7D2E88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#7D2E88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2E88
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E88#FFFFFF#000000##FFFFFF
##7D2E881.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194A8B
Deuteranopia (green-blind)
#3A5386
Tritanopia (blue-blind)
#7F3C57
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e88;
/* rgb */ color: rgb(125, 46, 136);
/* oklch */ color: oklch(45.3% 0.158 322.6);
Tailwind
colors: {
  custom: {
    50: '#a56dab',
    500: '#7d2e88',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e88;
$custom-light: #a56dab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e88",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 136
  },
  "hsl": {
    "h": 292.667,
    "s": 49.451,
    "l": 35.686
  },
  "oklch": {
    "l": 0.45276,
    "c": 0.15815,
    "h": 322.6
  },
  "luminance": 0.08092
}

Semantic roles & 50–950 ramp

primary
#7D2E88
secondary
#6AB260
accent
#D94F60
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2E88

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

Preview Lab → · Contrast checker → · Palette generator →

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