#8E188F#8E188F

#8E188F is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.196 H 327.8°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8E188F
RGBrgb(142, 24, 143)
HSLhsl(299, 71%, 33%)
HSVhsv(299, 83%, 56%)
CMYKcmyk(0.7%, 83.2%, 0%, 43.9%)
CIE-LABlab(34.78, 59.71, -37.69)
CIE-LCHlch(34.78, 70.61, 327.74°)
OKLaboklab(46.4% 0.1662 -0.1047)
OKLCHoklch(46.4% 0.196 327.8)
XYZxyz(16.4397, 8.3885, 26.7345)
Luminance0.0839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E188F #198F18
analogous
#53188F #8E188F #8F1854
triadic
#8E188F #8F8E18 #188F8E
tetradic
#8E188F #8F5318 #198F18 #18548F
square
#8E188F #8F5318 #198F18 #18548F
split-complementary
#8E188F #548F18 #188F53
monochromatic
#260626 #5A0F5B #8E188F #C221C3 #DE42DF

Accessibility & contrast

On white

7.84
#8E188F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8E188F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E188F
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E188F#FFFFFF#000000##FFFFFF
##8E188F1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004892
Deuteranopia (green-blind)
#3C578C
Tritanopia (blue-blind)
#932E55
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8e188f;
/* rgb */ color: rgb(142, 24, 143);
/* oklch */ color: oklch(46.4% 0.196 327.8);
Tailwind
colors: {
  custom: {
    50: '#b366b0',
    500: '#8e188f',
    950: '#000000',
  },
}
SCSS
$custom: #8e188f;
$custom-light: #b366b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e188f",
  "rgb": {
    "r": 142,
    "g": 24,
    "b": 143
  },
  "hsl": {
    "h": 299.496,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.19644,
    "h": 327.8
  },
  "luminance": 0.08387
}

Semantic roles & 50–950 ramp

primary
#8E188F
secondary
#44C043
accent
#EE3A3B
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110710
muted
#807A7F

Preview Lab

Preview with #8E188F

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

Preview Lab → · Contrast checker → · Palette generator →

#8E188F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva