#7D188F#7D188F

#7D188F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.7% C 0.189 H 320.8°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#7D188F
RGBrgb(125, 24, 143)
HSLhsl(291, 71%, 33%)
HSVhsv(291, 83%, 56%)
CMYKcmyk(12.6%, 83.2%, 0%, 43.9%)
CIE-LABlab(31.80, 56.39, -42.63)
CIE-LCHlch(31.80, 70.68, 322.91°)
OKLaboklab(43.73% 0.1468 -0.1196)
OKLCHoklch(43.73% 0.189 320.8)
XYZxyz(13.7414, 6.9972, 26.6081)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D188F #2A8F18
analogous
#41188F #7D188F #8F1866
triadic
#7D188F #8F7D18 #188F7D
tetradic
#7D188F #8F4118 #2A8F18 #18668F
square
#7D188F #8F4118 #2A8F18 #18668F
split-complementary
#7D188F #668F18 #188F41
monochromatic
#210626 #4F0F5B #7D188F #AB21C3 #C842DF

Accessibility & contrast

On white

8.75
#7D188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#7D188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7D188F
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D188F#FFFFFF#000000##FFFFFF
##7D188F1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#274E8C
Tritanopia (blue-blind)
#7E3355
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #7d188f;
/* rgb */ color: rgb(125, 24, 143);
/* oklch */ color: oklch(43.7% 0.189 320.8);
Tailwind
colors: {
  custom: {
    50: '#a764b0',
    500: '#7d188f',
    950: '#000000',
  },
}
SCSS
$custom: #7d188f;
$custom-light: #a764b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d188f",
  "rgb": {
    "r": 125,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 290.924,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.18936,
    "h": 320.8
  },
  "luminance": 0.06996
}

Semantic roles & 50–950 ramp

primary
#7D188F
secondary
#56C043
accent
#EE3A55
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7D188F

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

Preview Lab → · Contrast checker → · Palette generator →

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