#8F378E#8F378E

#8F378E is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.3% C 0.160 H 328.1°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8F378E
RGBrgb(143, 55, 142)
HSLhsl(301, 44%, 39%)
HSVhsv(301, 62%, 56%)
CMYKcmyk(0%, 61.5%, 0.7%, 43.9%)
CIE-LABlab(38.77, 48.78, -30.74)
CIE-LCHlch(38.77, 57.66, 327.78°)
OKLaboklab(49.28% 0.1363 -0.0847)
OKLCHoklch(49.28% 0.16 328.1)
XYZxyz(17.5761, 10.5262, 26.6919)
Luminance0.1052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F378E #378F38
analogous
#64378F #8F378E #8F3762
triadic
#8F378E #8E8F37 #378E8F
tetradic
#8F378E #8F6437 #378F38 #37628F
square
#8F378E #8F6437 #378F38 #37628F
split-complementary
#8F378E #628F37 #378F64
monochromatic
#371536 #632662 #8F378E #B94AB8 #CA76C9

Accessibility & contrast

On white

6.76
#8F378E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8F378E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F378E
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F378E#FFFFFF#000000##FFFFFF
##8F378E1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#4C5F8C
Tritanopia (blue-blind)
#93425D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8f378e;
/* rgb */ color: rgb(143, 55, 142);
/* oklch */ color: oklch(49.3% 0.160 328.1);
Tailwind
colors: {
  custom: {
    50: '#b274af',
    500: '#8f378e',
    950: '#000000',
  },
}
SCSS
$custom: #8f378e;
$custom-light: #b274af;
$custom-dark: #000000;
JSON
{
  "hex": "#8f378e",
  "rgb": {
    "r": 143,
    "g": 55,
    "b": 142
  },
  "hsl": {
    "h": 300.682,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4928,
    "c": 0.16046,
    "h": 328.1
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#8F378E
secondary
#6FB36F
accent
#D45554
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110910
muted
#807B7F

Preview Lab

Preview with #8F378E

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

Preview Lab → · Contrast checker → · Palette generator →

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