#7D2E83#7D2E83

#7D2E83 is a dark, vivid purple. Relative luminance 0.080; OKLCH L 45.0% C 0.153 H 324.8°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#7D2E83
RGBrgb(125, 46, 131)
HSLhsl(296, 48%, 35%)
HSVhsv(296, 65%, 51%)
CMYKcmyk(4.6%, 64.9%, 0%, 48.6%)
CIE-LABlab(33.89, 46.05, -31.86)
CIE-LCHlch(33.89, 56.00, 325.32°)
OKLaboklab(44.97% 0.1255 -0.0884)
OKLCHoklch(44.97% 0.153 324.8)
XYZxyz(13.5308, 7.9535, 22.2908)
Luminance0.0795 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E83 #34832E
analogous
#532E83 #7D2E83 #832E5E
triadic
#7D2E83 #837D2E #2E837D
tetradic
#7D2E83 #83532E #34832E #2E5E83
square
#7D2E83 #83532E #34832E #2E5E83
split-complementary
#7D2E83 #5E832E #2E8353
monochromatic
#270E28 #521E56 #7D2E83 #A83EB0 #C163C8

Accessibility & contrast

On white

8.11
#7D2E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7D2E83
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D2E83#FFFFFF#000000##FFFFFF
##7D2E831.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4986
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#803A54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e83;
/* rgb */ color: rgb(125, 46, 131);
/* oklch */ color: oklch(45.0% 0.153 324.8);
Tailwind
colors: {
  custom: {
    50: '#a56da7',
    500: '#7d2e83',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e83;
$custom-light: #a56da7;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e83",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 295.765,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44974,
    "c": 0.15348,
    "h": 324.8
  },
  "luminance": 0.07953
}

Semantic roles & 50–950 ramp

primary
#7D2E83
secondary
#64AF5E
accent
#D8505A
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #7D2E83

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

Preview Lab → · Contrast checker → · Palette generator →

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