#7C2384#7C2384

#7C2384 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.168 H 324.4°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7C2384
RGBrgb(124, 35, 132)
HSLhsl(295, 58%, 33%)
HSVhsv(295, 73%, 52%)
CMYKcmyk(6.1%, 73.5%, 0%, 48.2%)
CIE-LABlab(32.15, 50.56, -35.25)
CIE-LCHlch(32.15, 61.64, 325.12°)
OKLaboklab(43.72% 0.1369 -0.0982)
OKLCHoklch(43.72% 0.168 324.4)
XYZxyz(13.0777, 7.1539, 22.5173)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2384 #2B8423
analogous
#4C2384 #7C2384 #84235B
triadic
#7C2384 #847C23 #23847C
tetradic
#7C2384 #844C23 #2B8423 #235B84
square
#7C2384 #844C23 #2B8423 #235B84
split-complementary
#7C2384 #5B8423 #23844C
monochromatic
#210923 #4F1654 #7C2384 #A930B4 #C651D1

Accessibility & contrast

On white

8.64
#7C2384 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7C2384 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2384
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2384#FFFFFF#000000##FFFFFF
##7C23841.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044587
Deuteranopia (green-blind)
#354F82
Tritanopia (blue-blind)
#7F3451
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2384;
/* rgb */ color: rgb(124, 35, 132);
/* oklch */ color: oklch(43.7% 0.168 324.4);
Tailwind
colors: {
  custom: {
    50: '#a567a8',
    500: '#7c2384',
    950: '#000000',
  },
}
SCSS
$custom: #7c2384;
$custom-light: #a567a8;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2384",
  "rgb": {
    "r": 124,
    "g": 35,
    "b": 132
  },
  "hsl": {
    "h": 295.052,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43715,
    "c": 0.16846,
    "h": 324.4
  },
  "luminance": 0.07153
}

Semantic roles & 50–950 ramp

primary
#7C2384
secondary
#57B44E
accent
#E14653
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2384

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

Preview Lab → · Contrast checker → · Palette generator →

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