#7D2F7F#7D2F7F

#7D2F7F is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.148 H 326.7°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#7D2F7F
RGBrgb(125, 47, 127)
HSLhsl(299, 46%, 34%)
HSVhsv(299, 63%, 50%)
CMYKcmyk(1.6%, 63%, 0%, 50.2%)
CIE-LABlab(33.83, 44.83, -29.47)
CIE-LCHlch(33.83, 53.65, 326.69°)
OKLaboklab(44.86% 0.124 -0.0814)
OKLCHoklch(44.86% 0.148 326.7)
XYZxyz(13.3045, 7.9261, 20.9037)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F7F #317F2F
analogous
#552F7F #7D2F7F #7F2F59
triadic
#7D2F7F #7F7D2F #2F7F7D
tetradic
#7D2F7F #7F552F #317F2F #2F597F
square
#7D2F7F #7F552F #317F2F #2F597F
split-complementary
#7D2F7F #597F2F #2F7F55
monochromatic
#250E26 #511E52 #7D2F7F #A940AC #C363C5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2F7F#FFFFFF#000000##FFFFFF
##7D2F7F1.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)
#244981
Deuteranopia (green-blind)
#40537D
Tritanopia (blue-blind)
#803A52
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f7f;
/* rgb */ color: rgb(125, 47, 127);
/* oklch */ color: oklch(44.9% 0.148 326.7);
Tailwind
colors: {
  custom: {
    50: '#a56da4',
    500: '#7d2f7f',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f7f;
$custom-light: #a56da4;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f7f",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 298.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.14832,
    "h": 326.7
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#7D2F7F
secondary
#60AC5E
accent
#D65255
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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