#7D2F83#7D2F83

#7D2F83 is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.1% C 0.152 H 324.8°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#7D2F83
RGBrgb(125, 47, 131)
HSLhsl(296, 47%, 35%)
HSVhsv(296, 64%, 51%)
CMYKcmyk(4.6%, 64.1%, 0%, 48.6%)
CIE-LABlab(34.05, 45.59, -31.60)
CIE-LCHlch(34.05, 55.48, 325.27°)
OKLaboklab(45.09% 0.1242 -0.0876)
OKLCHoklch(45.09% 0.152 324.8)
XYZxyz(13.5704, 8.0325, 22.3040)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2F83 #35832F
analogous
#532F83 #7D2F83 #832F5F
triadic
#7D2F83 #837D2F #2F837D
tetradic
#7D2F83 #83532F #35832F #2F5F83
square
#7D2F83 #83532F #35832F #2F5F83
split-complementary
#7D2F83 #5F832F #2F8353
monochromatic
#270F29 #521F56 #7D2F83 #A83FB0 #C165C8

Accessibility & contrast

On white

8.06
#7D2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2F83
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2F83#FFFFFF#000000##FFFFFF
##7D2F831.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#803B54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2f83;
/* rgb */ color: rgb(125, 47, 131);
/* oklch */ color: oklch(45.1% 0.152 324.8);
Tailwind
colors: {
  custom: {
    50: '#a56da7',
    500: '#7d2f83',
    950: '#000000',
  },
}
SCSS
$custom: #7d2f83;
$custom-light: #a56da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2f83",
  "rgb": {
    "r": 125,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 295.714,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.15202,
    "h": 324.8
  },
  "luminance": 0.08032
}

Semantic roles & 50–950 ramp

primary
#7D2F83
secondary
#65AF5F
accent
#D7515B
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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