#7C188F#7C188F

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

Color values

HEX#7C188F
RGBrgb(124, 24, 143)
HSLhsl(290, 71%, 33%)
HSVhsv(290, 83%, 56%)
CMYKcmyk(13.3%, 83.2%, 0%, 43.9%)
CIE-LABlab(31.63, 56.20, -42.91)
CIE-LCHlch(31.63, 70.70, 322.64°)
OKLaboklab(43.57% 0.1456 -0.1205)
OKLCHoklch(43.57% 0.189 320.4)
XYZxyz(13.5961, 6.9223, 26.6013)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7C188F #2B8F18
analogous
#40188F #7C188F #8F1866
triadic
#7C188F #8F7C18 #188F7C
tetradic
#7C188F #8F4018 #2B8F18 #18668F
square
#7C188F #8F4018 #2B8F18 #18668F
split-complementary
#7C188F #668F18 #188F40
monochromatic
#210626 #4F0F5B #7C188F #A921C3 #C642DF

Accessibility & contrast

On white

8.81
#7C188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#7C188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7C188F
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7C188F#FFFFFF#000000##FFFFFF
##7C188F1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#264E8C
Tritanopia (blue-blind)
#7C3355
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #7c188f;
/* rgb */ color: rgb(124, 24, 143);
/* oklch */ color: oklch(43.6% 0.189 320.4);
Tailwind
colors: {
  custom: {
    50: '#a664b0',
    500: '#7c188f',
    950: '#000000',
  },
}
SCSS
$custom: #7c188f;
$custom-light: #a664b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7c188f",
  "rgb": {
    "r": 124,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 290.42,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.43572,
    "c": 0.18897,
    "h": 320.4
  },
  "luminance": 0.06922
}

Semantic roles & 50–950 ramp

primary
#7C188F
secondary
#57C043
accent
#EE3A57
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7C188F

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

Preview Lab → · Contrast checker → · Palette generator →

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