#7C2D85#7C2D85

#7C2D85 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.8% C 0.156 H 323.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#7C2D85
RGBrgb(124, 45, 133)
HSLhsl(294, 49%, 35%)
HSVhsv(294, 66%, 52%)
CMYKcmyk(6.8%, 66.2%, 0%, 47.8%)
CIE-LABlab(33.68, 46.63, -33.44)
CIE-LCHlch(33.68, 57.38, 324.35°)
OKLaboklab(44.83% 0.1256 -0.093)
OKLCHoklch(44.83% 0.156 323.5)
XYZxyz(13.4838, 7.8561, 22.9919)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2D85 #36852D
analogous
#502D85 #7C2D85 #852D62
triadic
#7C2D85 #857C2D #2D857C
tetradic
#7C2D85 #85502D #36852D #2D6285
square
#7C2D85 #85502D #36852D #2D6285
split-complementary
#7C2D85 #62852D #2D8550
monochromatic
#270E2A #511E57 #7C2D85 #A73CB3 #BF62CA

Accessibility & contrast

On white

8.17
#7C2D85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#7C2D85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2D85
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2D85#FFFFFF#000000##FFFFFF
##7C2D851.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4988
Deuteranopia (green-blind)
#3B5283
Tritanopia (blue-blind)
#7E3B55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2d85;
/* rgb */ color: rgb(124, 45, 133);
/* oklch */ color: oklch(44.8% 0.156 323.5);
Tailwind
colors: {
  custom: {
    50: '#a56ca9',
    500: '#7c2d85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2d85;
$custom-light: #a56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2d85",
  "rgb": {
    "r": 124,
    "g": 45,
    "b": 133
  },
  "hsl": {
    "h": 293.864,
    "s": 49.438,
    "l": 34.902
  },
  "oklch": {
    "l": 0.44831,
    "c": 0.15625,
    "h": 323.5
  },
  "luminance": 0.07855
}

Semantic roles & 50–950 ramp

primary
#7C2D85
secondary
#66B05D
accent
#D94F5D
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2D85

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

Preview Lab → · Contrast checker → · Palette generator →

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