#7F188F#7F188F

#7F188F is a dark, vivid purple. Relative luminance 0.071; OKLCH L 44.0% C 0.190 H 321.7°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#7F188F
RGBrgb(127, 24, 143)
HSLhsl(292, 71%, 33%)
HSVhsv(292, 83%, 56%)
CMYKcmyk(11.2%, 83.2%, 0%, 43.9%)
CIE-LABlab(32.14, 56.77, -42.05)
CIE-LCHlch(32.14, 70.65, 323.47°)
OKLaboklab(44.03% 0.1492 -0.1179)
OKLCHoklch(44.03% 0.19 321.7)
XYZxyz(14.0364, 7.1493, 26.6219)
Luminance0.0715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F188F #288F18
analogous
#44188F #7F188F #8F1863
triadic
#7F188F #8F7F18 #188F7F
tetradic
#7F188F #8F4418 #288F18 #18638F
square
#7F188F #8F4418 #288F18 #18638F
split-complementary
#7F188F #638F18 #188F44
monochromatic
#220626 #500F5B #7F188F #AE21C3 #CA42DF

Accessibility & contrast

On white

8.64
#7F188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#7F188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7F188F
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F188F#FFFFFF#000000##FFFFFF
##7F188F1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#803255
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #7f188f;
/* rgb */ color: rgb(127, 24, 143);
/* oklch */ color: oklch(44.0% 0.190 321.7);
Tailwind
colors: {
  custom: {
    50: '#a864b0',
    500: '#7f188f',
    950: '#000000',
  },
}
SCSS
$custom: #7f188f;
$custom-light: #a864b0;
$custom-dark: #000000;
JSON
{
  "hex": "#7f188f",
  "rgb": {
    "r": 127,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 291.933,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44034,
    "c": 0.19015,
    "h": 321.7
  },
  "luminance": 0.07148
}

Semantic roles & 50–950 ramp

primary
#7F188F
secondary
#54C043
accent
#EE3A52
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100611
muted
#7F7A80

Preview Lab

Preview with #7F188F

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

Preview Lab → · Contrast checker → · Palette generator →

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