#7D189F#7D189F

#7D189F is a dark, highly saturated purple. Relative luminance 0.075; OKLCH L 44.9% C 0.203 H 315.2°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7D189F
RGBrgb(125, 24, 159)
HSLhsl(285, 74%, 36%)
HSVhsv(285, 85%, 62%)
CMYKcmyk(21.4%, 84.9%, 0%, 37.6%)
CIE-LABlab(32.96, 59.43, -50.55)
CIE-LCHlch(32.96, 78.02, 319.62°)
OKLaboklab(44.9% 0.1438 -0.1429)
OKLCHoklch(44.9% 0.203 315.2)
XYZxyz(15.0411, 7.5170, 33.4528)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D189F #3A9F18
analogous
#39189F #7D189F #9F187D
triadic
#7D189F #9F7D18 #189F7D
tetradic
#7D189F #9F3918 #3A9F18 #187D9F
square
#7D189F #9F3918 #3A9F18 #187D9F
split-complementary
#7D189F #7D9F18 #189F39
monochromatic
#290835 #53106A #7D189F #A720D4 #BE4DE4

Accessibility & contrast

On white

8.39
#7D189F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#7D189F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D189F
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D189F#FFFFFF#000000##FFFFFF
##7D189F1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#0D509C
Tritanopia (blue-blind)
#7A3B5E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #7d189f;
/* rgb */ color: rgb(125, 24, 159);
/* oklch */ color: oklch(44.9% 0.203 315.2);
Tailwind
colors: {
  custom: {
    50: '#a765bc',
    500: '#7d189f',
    950: '#000000',
  },
}
SCSS
$custom: #7d189f;
$custom-light: #a765bc;
$custom-dark: #000000;
JSON
{
  "hex": "#7d189f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 159
  },
  "hsl": {
    "h": 284.889,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.449,
    "c": 0.20269,
    "h": 315.2
  },
  "luminance": 0.07516
}

Semantic roles & 50–950 ramp

primary
#7D189F
secondary
#6BC64D
accent
#F03766
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100612
muted
#7F7A81

Preview Lab

Preview with #7D189F

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

Preview Lab → · Contrast checker → · Palette generator →

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