#7C2A85#7C2A85

#7C2A85 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.160 H 323.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7C2A85
RGBrgb(124, 42, 133)
HSLhsl(294, 52%, 34%)
HSVhsv(294, 68%, 52%)
CMYKcmyk(6.8%, 68.4%, 0%, 47.8%)
CIE-LABlab(33.21, 47.94, -34.19)
CIE-LCHlch(33.21, 58.88, 324.51°)
OKLaboklab(44.49% 0.1292 -0.0951)
OKLCHoklch(44.49% 0.16 323.6)
XYZxyz(13.3734, 7.6352, 22.9551)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2A85 #33852A
analogous
#4F2A85 #7C2A85 #852A61
triadic
#7C2A85 #857C2A #2A857C
tetradic
#7C2A85 #854F2A #33852A #2A6185
square
#7C2A85 #854F2A #33852A #2A6185
split-complementary
#7C2A85 #61852A #2A854F
monochromatic
#250D28 #511B56 #7C2A85 #A739B4 #C15DCC

Accessibility & contrast

On white

8.31
#7C2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#7C2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2A85
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2A85#FFFFFF#000000##FFFFFF
##7C2A851.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144888
Deuteranopia (green-blind)
#395183
Tritanopia (blue-blind)
#7E3954
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #7c2a85;
/* rgb */ color: rgb(124, 42, 133);
/* oklch */ color: oklch(44.5% 0.160 323.6);
Tailwind
colors: {
  custom: {
    50: '#a56ba9',
    500: '#7c2a85',
    950: '#000000',
  },
}
SCSS
$custom: #7c2a85;
$custom-light: #a56ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2a85",
  "rgb": {
    "r": 124,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 294.066,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44492,
    "c": 0.16042,
    "h": 323.6
  },
  "luminance": 0.07634
}

Semantic roles & 50–950 ramp

primary
#7C2A85
secondary
#62B259
accent
#DB4C5B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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