#7C1996#7C1996

#7C1996 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.194 H 317.8°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7C1996
RGBrgb(124, 25, 150)
HSLhsl(288, 71%, 34%)
HSVhsv(288, 83%, 59%)
CMYKcmyk(17.3%, 83.3%, 0%, 41.2%)
CIE-LABlab(32.22, 57.24, -46.26)
CIE-LCHlch(32.22, 73.60, 321.06°)
OKLaboklab(44.14% 0.1437 -0.1303)
OKLCHoklch(44.14% 0.194 317.8)
XYZxyz(14.1640, 7.1830, 29.4886)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C1996 #339619
analogous
#3E1996 #7C1996 #961972
triadic
#7C1996 #967C19 #19967C
tetradic
#7C1996 #963E19 #339619 #197296
square
#7C1996 #963E19 #339619 #197296
split-complementary
#7C1996 #729619 #19963E
monochromatic
#25082D #511062 #7C1996 #A722CA #C149E1

Accessibility & contrast

On white

8.62
#7C1996 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#7C1996 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C1996
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C1996#FFFFFF#000000##FFFFFF
##7C19961.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#1E4F93
Tritanopia (blue-blind)
#7B3759
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7c1996;
/* rgb */ color: rgb(124, 25, 150);
/* oklch */ color: oklch(44.1% 0.194 317.8);
Tailwind
colors: {
  custom: {
    50: '#a664b6',
    500: '#7c1996',
    950: '#000000',
  },
}
SCSS
$custom: #7c1996;
$custom-light: #a664b6;
$custom-dark: #000000;
JSON
{
  "hex": "#7c1996",
  "rgb": {
    "r": 124,
    "g": 25,
    "b": 150
  },
  "hsl": {
    "h": 287.52,
    "s": 71.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.44144,
    "c": 0.19398,
    "h": 317.8
  },
  "luminance": 0.07182
}

Semantic roles & 50–950 ramp

primary
#7C1996
secondary
#62C249
accent
#EE3A5F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C1996

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

Preview Lab → · Contrast checker → · Palette generator →

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