#7D188D#7D188D

#7D188D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.6% C 0.188 H 321.6°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7D188D
RGBrgb(125, 24, 141)
HSLhsl(292, 71%, 32%)
HSVhsv(292, 83%, 55%)
CMYKcmyk(11.3%, 83%, 0%, 44.7%)
CIE-LABlab(31.66, 56.02, -41.61)
CIE-LCHlch(31.66, 69.78, 323.39°)
OKLaboklab(43.59% 0.1471 -0.1167)
OKLCHoklch(43.59% 0.188 321.6)
XYZxyz(13.5913, 6.9371, 25.8173)
Luminance0.0694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D188D #288D18
analogous
#43188D #7D188D #8D1862
triadic
#7D188D #8D7D18 #188D7D
tetradic
#7D188D #8D4318 #288D18 #18628D
square
#7D188D #8D4318 #288D18 #18628D
split-complementary
#7D188D #628D18 #188D43
monochromatic
#200624 #4F0F59 #7D188D #AB21C1 #C941DF

Accessibility & contrast

On white

8.80
#7D188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#7D188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D188D
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D188D#FFFFFF#000000##FFFFFF
##7D188D1.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#7E3254
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7d188d;
/* rgb */ color: rgb(125, 24, 141);
/* oklch */ color: oklch(43.6% 0.188 321.6);
Tailwind
colors: {
  custom: {
    50: '#a764af',
    500: '#7d188d',
    950: '#000000',
  },
}
SCSS
$custom: #7d188d;
$custom-light: #a764af;
$custom-dark: #000000;
JSON
{
  "hex": "#7d188d",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 291.795,
    "s": 70.909,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43585,
    "c": 0.18772,
    "h": 321.6
  },
  "luminance": 0.06936
}

Semantic roles & 50–950 ramp

primary
#7D188D
secondary
#53BF42
accent
#EE3A53
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #7D188D

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

Preview Lab → · Contrast checker → · Palette generator →

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