#7D2D88#7D2D88

#7D2D88 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.2% C 0.160 H 322.7°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7D2D88
RGBrgb(125, 45, 136)
HSLhsl(293, 50%, 35%)
HSVhsv(293, 67%, 53%)
CMYKcmyk(8.1%, 66.9%, 0%, 46.7%)
CIE-LABlab(34.01, 47.47, -34.76)
CIE-LCHlch(34.01, 58.83, 323.78°)
OKLaboklab(45.16% 0.1269 -0.0968)
OKLCHoklch(45.16% 0.16 322.7)
XYZxyz(13.8393, 8.0151, 24.1059)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2D88 #38882D
analogous
#4F2D88 #7D2D88 #882D65
triadic
#7D2D88 #887D2D #2D887D
tetradic
#7D2D88 #884F2D #38882D #2D6588
square
#7D2D88 #884F2D #38882D #2D6588
split-complementary
#7D2D88 #65882D #2D884F
monochromatic
#280F2C #531E5A #7D2D88 #A73CB6 #BF64CC

Accessibility & contrast

On white

8.07
#7D2D88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#7D2D88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2D88
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2D88#FFFFFF#000000##FFFFFF
##7D2D881.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d2d88;
/* rgb */ color: rgb(125, 45, 136);
/* oklch */ color: oklch(45.2% 0.160 322.7);
Tailwind
colors: {
  custom: {
    50: '#a56cab',
    500: '#7d2d88',
    950: '#000000',
  },
}
SCSS
$custom: #7d2d88;
$custom-light: #a56cab;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2d88",
  "rgb": {
    "r": 125,
    "g": 45,
    "b": 136
  },
  "hsl": {
    "h": 292.747,
    "s": 50.276,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4516,
    "c": 0.15956,
    "h": 322.7
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#7D2D88
secondary
#69B25F
accent
#DA4E5F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2D88

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

Preview Lab → · Contrast checker → · Palette generator →

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