#7C2485#7C2485

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

Color values

HEX#7C2485
RGBrgb(124, 36, 133)
HSLhsl(294, 57%, 33%)
HSVhsv(294, 73%, 52%)
CMYKcmyk(6.8%, 72.9%, 0%, 47.8%)
CIE-LABlab(32.35, 50.37, -35.56)
CIE-LCHlch(32.35, 61.66, 324.78°)
OKLaboklab(43.87% 0.1358 -0.0991)
OKLCHoklch(43.87% 0.168 323.9)
XYZxyz(13.1763, 7.2411, 22.8894)
Luminance0.0724 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C2485 #2D8524
analogous
#4B2485 #7C2485 #85245D
triadic
#7C2485 #857C24 #24857C
tetradic
#7C2485 #854B24 #2D8524 #245D85
square
#7C2485 #854B24 #2D8524 #245D85
split-complementary
#7C2485 #5D8524 #24854B
monochromatic
#220A25 #4F1755 #7C2485 #A931B5 #C553D0

Accessibility & contrast

On white

8.58
#7C2485 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#7C2485 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C2485
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C2485#FFFFFF#000000##FFFFFF
##7C24851.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044588
Deuteranopia (green-blind)
#355083
Tritanopia (blue-blind)
#7E3552
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c2485;
/* rgb */ color: rgb(124, 36, 133);
/* oklch */ color: oklch(43.9% 0.168 323.9);
Tailwind
colors: {
  custom: {
    50: '#a568a9',
    500: '#7c2485',
    950: '#000000',
  },
}
SCSS
$custom: #7c2485;
$custom-light: #a568a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c2485",
  "rgb": {
    "r": 124,
    "g": 36,
    "b": 133
  },
  "hsl": {
    "h": 294.433,
    "s": 57.396,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43874,
    "c": 0.16813,
    "h": 323.9
  },
  "luminance": 0.0724
}

Semantic roles & 50–950 ramp

primary
#7C2485
secondary
#5AB450
accent
#E14755
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #7C2485

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

Preview Lab → · Contrast checker → · Palette generator →

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