#8E368F#8E368F

#8E368F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.1% C 0.162 H 327.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8E368F
RGBrgb(142, 54, 143)
HSLhsl(299, 45%, 39%)
HSVhsv(299, 62%, 56%)
CMYKcmyk(0.7%, 62.2%, 0%, 43.9%)
CIE-LABlab(38.50, 49.15, -31.78)
CIE-LCHlch(38.50, 58.53, 327.11°)
OKLaboklab(49.07% 0.1364 -0.0877)
OKLCHoklch(49.07% 0.162 327.3)
XYZxyz(17.4321, 10.3734, 27.0654)
Luminance0.1037 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E368F #378F36
analogous
#61368F #8E368F #8F3663
triadic
#8E368F #8F8E36 #368F8E
tetradic
#8E368F #8F6136 #378F36 #36638F
square
#8E368F #8F6136 #378F36 #36638F
split-complementary
#8E368F #638F36 #368F61
monochromatic
#361436 #622563 #8E368F #B948BA #CA75CB

Accessibility & contrast

On white

6.83
#8E368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8E368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E368F
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E368F#FFFFFF#000000##FFFFFF
##8E368F1.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5392
Deuteranopia (green-blind)
#4A5F8D
Tritanopia (blue-blind)
#92425D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8e368f;
/* rgb */ color: rgb(142, 54, 143);
/* oklch */ color: oklch(49.1% 0.162 327.3);
Tailwind
colors: {
  custom: {
    50: '#b273b0',
    500: '#8e368f',
    950: '#000000',
  },
}
SCSS
$custom: #8e368f;
$custom-light: #b273b0;
$custom-dark: #000000;
JSON
{
  "hex": "#8e368f",
  "rgb": {
    "r": 142,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 299.326,
    "s": 45.178,
    "l": 38.627
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.16222,
    "h": 327.3
  },
  "luminance": 0.10372
}

Semantic roles & 50–950 ramp

primary
#8E368F
secondary
#6EB36D
accent
#D55354
background
#FBF7FA
surface
#F6EDF5
border
#D0C8CF
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E368F

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

Preview Lab → · Contrast checker → · Palette generator →

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