#7D2C88#7D2C88

#7D2C88 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.0% C 0.161 H 322.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7D2C88
RGBrgb(125, 44, 136)
HSLhsl(293, 51%, 35%)
HSVhsv(293, 68%, 53%)
CMYKcmyk(8.1%, 67.6%, 0%, 46.7%)
CIE-LABlab(33.86, 47.90, -35.01)
CIE-LCHlch(33.86, 59.33, 323.84°)
OKLaboklab(45.05% 0.1281 -0.0975)
OKLCHoklch(45.05% 0.161 322.7)
XYZxyz(13.8016, 7.9397, 24.0933)
Luminance0.0794 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2C88 #37882C
analogous
#4F2C88 #7D2C88 #882C65
triadic
#7D2C88 #887D2C #2C887D
tetradic
#7D2C88 #884F2C #37882C #2C6588
square
#7D2C88 #884F2C #37882C #2C6588
split-complementary
#7D2C88 #65882C #2C884F
monochromatic
#280E2C #521D5A #7D2C88 #A73BB6 #C062CC

Accessibility & contrast

On white

8.12
#7D2C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#7D2C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2C88
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2C88#FFFFFF#000000##FFFFFF
##7D2C881.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#395386
Tritanopia (blue-blind)
#7F3B56
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2c88;
/* rgb */ color: rgb(125, 44, 136);
/* oklch */ color: oklch(45.0% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#a66cab',
    500: '#7d2c88',
    950: '#000000',
  },
}
SCSS
$custom: #7d2c88;
$custom-light: #a66cab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2c88",
  "rgb": {
    "r": 125,
    "g": 44,
    "b": 136
  },
  "hsl": {
    "h": 292.826,
    "s": 51.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.45047,
    "c": 0.16095,
    "h": 322.7
  },
  "luminance": 0.07939
}

Semantic roles & 50–950 ramp

primary
#7D2C88
secondary
#67B35D
accent
#DB4D5E
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2C88

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

Preview Lab → · Contrast checker → · Palette generator →

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