#7D2F84#7D2F84

#7D2F84 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.2% C 0.153 H 324.3°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#7D2F84
RGBrgb(125, 47, 132)
HSLhsl(295, 47%, 35%)
HSVhsv(295, 64%, 52%)
CMYKcmyk(5.3%, 64.4%, 0%, 48.2%)
CIE-LABlab(34.11, 45.79, -32.13)
CIE-LCHlch(34.11, 55.94, 324.94°)
OKLaboklab(45.15% 0.1243 -0.0892)
OKLCHoklch(45.15% 0.153 324.3)
XYZxyz(13.6385, 8.0597, 22.6626)
Luminance0.0806 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F84 #36842F
analogous
#532F84 #7D2F84 #842F60
triadic
#7D2F84 #847D2F #2F847D
tetradic
#7D2F84 #84532F #36842F #2F6084
square
#7D2F84 #84532F #36842F #2F6084
split-complementary
#7D2F84 #60842F #2F8453
monochromatic
#280F2A #521F57 #7D2F84 #A83FB1 #C065C8

Accessibility & contrast

On white

8.04
#7D2F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#7D2F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D2F84
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F84#FFFFFF#000000##FFFFFF
##7D2F841.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A87
Deuteranopia (green-blind)
#3D5382
Tritanopia (blue-blind)
#803B55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f84;
/* rgb */ color: rgb(125, 47, 132);
/* oklch */ color: oklch(45.2% 0.153 324.3);
Tailwind
colors: {
  custom: {
    50: '#a56da8',
    500: '#7d2f84',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f84;
$custom-light: #a56da8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f84",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 295.059,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45152,
    "c": 0.15295,
    "h": 324.3
  },
  "luminance": 0.08059
}

Semantic roles & 50–950 ramp

primary
#7D2F84
secondary
#66AF60
accent
#D7515C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2F84

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

Preview Lab → · Contrast checker → · Palette generator →

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