#7C1785#7C1785

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

Color values

HEX#7C1785
RGBrgb(124, 23, 133)
HSLhsl(295, 71%, 31%)
HSVhsv(295, 83%, 52%)
CMYKcmyk(6.8%, 82.7%, 0%, 47.8%)
CIE-LABlab(30.86, 54.65, -37.94)
CIE-LCHlch(30.86, 66.53, 325.23°)
OKLaboklab(42.81% 0.1476 -0.1059)
OKLCHoklch(42.81% 0.182 324.3)
XYZxyz(12.8519, 6.5922, 22.7813)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1785 #208517
analogous
#451785 #7C1785 #851757
triadic
#7C1785 #857C17 #17857C
tetradic
#7C1785 #854517 #208517 #175785
square
#7C1785 #854517 #208517 #175785
split-complementary
#7C1785 #578517 #178545
monochromatic
#1B051D #4B0E51 #7C1785 #AD20B9 #CF3ADD

Accessibility & contrast

On white

9.06
#7C1785 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#7C1785 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1785
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1785#FFFFFF#000000##FFFFFF
##7C17851.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1785;
/* rgb */ color: rgb(124, 23, 133);
/* oklch */ color: oklch(42.8% 0.182 324.3);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7c1785',
    950: '#000000',
  },
}
SCSS
$custom: #7c1785;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1785",
  "rgb": {
    "r": 124,
    "g": 23,
    "b": 133
  },
  "hsl": {
    "h": 295.091,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.42814,
    "c": 0.18166,
    "h": 324.3
  },
  "luminance": 0.06591
}

Semantic roles & 50–950 ramp

primary
#7C1785
secondary
#49B93F
accent
#ED3B49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1785

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

Preview Lab → · Contrast checker → · Palette generator →

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