#7C1885#7C1885

#7C1885 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.181 H 324.3°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7C1885
RGBrgb(124, 24, 133)
HSLhsl(295, 69%, 31%)
HSVhsv(295, 82%, 52%)
CMYKcmyk(6.8%, 82%, 0%, 47.8%)
CIE-LABlab(30.96, 54.37, -37.79)
CIE-LCHlch(30.96, 66.21, 325.20°)
OKLaboklab(42.88% 0.1468 -0.1055)
OKLCHoklch(42.88% 0.181 324.3)
XYZxyz(12.8721, 6.6326, 22.7880)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1885 #218518
analogous
#451885 #7C1885 #851857
triadic
#7C1885 #857C18 #18857C
tetradic
#7C1885 #854518 #218518 #185785
square
#7C1885 #854518 #218518 #185785
split-complementary
#7C1885 #578518 #188545
monochromatic
#1B051D #4C0F51 #7C1885 #AC21B9 #CF3CDC

Accessibility & contrast

On white

9.03
#7C1885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#7C1885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1885
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1885#FFFFFF#000000##FFFFFF
##7C18851.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004188
Deuteranopia (green-blind)
#2F4D83
Tritanopia (blue-blind)
#7E2E4F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #7c1885;
/* rgb */ color: rgb(124, 24, 133);
/* oklch */ color: oklch(42.9% 0.181 324.3);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7c1885',
    950: '#000000',
  },
}
SCSS
$custom: #7c1885;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1885",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 295.046,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.18079,
    "h": 324.3
  },
  "luminance": 0.06632
}

Semantic roles & 50–950 ramp

primary
#7C1885
secondary
#4AB940
accent
#EC3C4A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1885

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

Preview Lab → · Contrast checker → · Palette generator →

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