#7C2C85#7C2C85

#7C2C85 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.7% C 0.158 H 323.5°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7C2C85
RGBrgb(124, 44, 133)
HSLhsl(294, 50%, 35%)
HSVhsv(294, 67%, 52%)
CMYKcmyk(6.8%, 66.9%, 0%, 47.8%)
CIE-LABlab(33.52, 47.07, -33.69)
CIE-LCHlch(33.52, 57.89, 324.41°)
OKLaboklab(44.72% 0.1268 -0.0937)
OKLCHoklch(44.72% 0.158 323.5)
XYZxyz(13.4461, 7.7807, 22.9793)
Luminance0.0778 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2C85 #35852C
analogous
#502C85 #7C2C85 #852C61
triadic
#7C2C85 #857C2C #2C857C
tetradic
#7C2C85 #85502C #35852C #2C6185
square
#7C2C85 #85502C #35852C #2C6185
split-complementary
#7C2C85 #61852C #2C8550
monochromatic
#260E29 #511D57 #7C2C85 #A73BB3 #C061CB

Accessibility & contrast

On white

8.22
#7C2C85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#7C2C85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2C85
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2C85#FFFFFF#000000##FFFFFF
##7C2C851.008.222.568.22
#FFFFFF8.221.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#184988
Deuteranopia (green-blind)
#3A5283
Tritanopia (blue-blind)
#7E3A54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #7c2c85;
/* rgb */ color: rgb(124, 44, 133);
/* oklch */ color: oklch(44.7% 0.158 323.5);
Tailwind
colors: {
  custom: {
    50: '#a56ca9',
    500: '#7c2c85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2c85;
$custom-light: #a56ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2c85",
  "rgb": {
    "r": 124,
    "g": 44,
    "b": 133
  },
  "hsl": {
    "h": 293.933,
    "s": 50.282,
    "l": 34.706
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.15766,
    "h": 323.5
  },
  "luminance": 0.0778
}

Semantic roles & 50–950 ramp

primary
#7C2C85
secondary
#65B15C
accent
#DA4E5C
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2C85

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

Preview Lab → · Contrast checker → · Palette generator →

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