#7D2E85#7D2E85

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

Color values

HEX#7D2E85
RGBrgb(125, 46, 133)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 65%, 52%)
CMYKcmyk(6%, 65.4%, 0%, 47.8%)
CIE-LABlab(34.00, 46.44, -32.92)
CIE-LCHlch(34.00, 56.92, 324.66°)
OKLaboklab(45.09% 0.1256 -0.0915)
OKLCHoklch(45.09% 0.155 323.9)
XYZxyz(13.6677, 8.0082, 23.0116)
Luminance0.0801 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D2E85 #36852E
analogous
#522E85 #7D2E85 #852E61
triadic
#7D2E85 #857D2E #2E857D
tetradic
#7D2E85 #85522E #36852E #2E6185
square
#7D2E85 #85522E #36852E #2E6185
split-complementary
#7D2E85 #61852E #2E8552
monochromatic
#280F2A #521E58 #7D2E85 #A83EB2 #C064C9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D2E85#FFFFFF#000000##FFFFFF
##7D2E851.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)
#1C4A88
Deuteranopia (green-blind)
#3C5383
Tritanopia (blue-blind)
#7F3B55
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #7d2e85;
/* rgb */ color: rgb(125, 46, 133);
/* oklch */ color: oklch(45.1% 0.155 323.9);
Tailwind
colors: {
  custom: {
    50: '#a56da9',
    500: '#7d2e85',
    950: '#000000',
  },
}
SCSS
$custom: #7d2e85;
$custom-light: #a56da9;
$custom-dark: #000000;
JSON
{
  "hex": "#7d2e85",
  "rgb": {
    "r": 125,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 294.483,
    "s": 48.603,
    "l": 35.098
  },
  "oklch": {
    "l": 0.45093,
    "c": 0.15534,
    "h": 323.9
  },
  "luminance": 0.08007
}

Semantic roles & 50–950 ramp

primary
#7D2E85
secondary
#66B05F
accent
#D8505C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7D2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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