#7C1985#7C1985

#7C1985 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.180 H 324.3°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7C1985
RGBrgb(124, 25, 133)
HSLhsl(295, 68%, 31%)
HSVhsv(295, 81%, 52%)
CMYKcmyk(6.8%, 81.2%, 0%, 47.8%)
CIE-LABlab(31.05, 54.09, -37.63)
CIE-LCHlch(31.05, 65.89, 325.17°)
OKLaboklab(42.95% 0.146 -0.105)
OKLCHoklch(42.95% 0.18 324.3)
XYZxyz(12.8931, 6.6746, 22.7950)
Luminance0.0667 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1985 #228519
analogous
#461985 #7C1985 #851958
triadic
#7C1985 #857C19 #19857C
tetradic
#7C1985 #854619 #228519 #195885
square
#7C1985 #854619 #228519 #195885
split-complementary
#7C1985 #588519 #198546
monochromatic
#1C061E #4C0F51 #7C1985 #AC23B9 #CE3EDB

Accessibility & contrast

On white

8.99
#7C1985 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #7C1985
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1985#FFFFFF#000000##FFFFFF
##7C19851.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7c1985;
/* rgb */ color: rgb(124, 25, 133);
/* oklch */ color: oklch(43.0% 0.180 324.3);
Tailwind
colors: {
  custom: {
    50: '#a663a9',
    500: '#7c1985',
    950: '#000000',
  },
}
SCSS
$custom: #7c1985;
$custom-light: #a663a9;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1985",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 133
  },
  "hsl": {
    "h": 295,
    "s": 68.354,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42952,
    "c": 0.17988,
    "h": 324.3
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#7C1985
secondary
#4BB941
accent
#EB3D4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7C1985

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

Preview Lab → · Contrast checker → · Palette generator →

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