#7C189F#7C189F

#7C189F is a dark, highly saturated purple. Relative luminance 0.074; OKLCH L 44.8% C 0.202 H 314.8°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#7C189F
RGBrgb(124, 24, 159)
HSLhsl(284, 74%, 36%)
HSVhsv(284, 85%, 62%)
CMYKcmyk(22%, 84.9%, 0%, 37.6%)
CIE-LABlab(32.79, 59.26, -50.82)
CIE-LCHlch(32.79, 78.07, 319.38°)
OKLaboklab(44.75% 0.1425 -0.1437)
OKLCHoklch(44.75% 0.202 314.8)
XYZxyz(14.8958, 7.4421, 33.4460)
Luminance0.0744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C189F #3B9F18
analogous
#38189F #7C189F #9F187E
triadic
#7C189F #9F7C18 #189F7C
tetradic
#7C189F #9F3818 #3B9F18 #187E9F
square
#7C189F #9F3818 #3B9F18 #187E9F
split-complementary
#7C189F #7E9F18 #189F38
monochromatic
#290835 #53106A #7C189F #A520D4 #BD4DE4

Accessibility & contrast

On white

8.44
#7C189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#7C189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C189F
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C189F#FFFFFF#000000##FFFFFF
##7C189F1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#094F9C
Tritanopia (blue-blind)
#793B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7c189f;
/* rgb */ color: rgb(124, 24, 159);
/* oklch */ color: oklch(44.8% 0.202 314.8);
Tailwind
colors: {
  custom: {
    50: '#a764bc',
    500: '#7c189f',
    950: '#000000',
  },
}
SCSS
$custom: #7c189f;
$custom-light: #a764bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7c189f",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 284.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44754,
    "c": 0.20236,
    "h": 314.8
  },
  "luminance": 0.07442
}

Semantic roles & 50–950 ramp

primary
#7C189F
secondary
#6CC64D
accent
#F03767
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7C189F

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

Preview Lab → · Contrast checker → · Palette generator →

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