#8F2E8B#8F2E8B

#8F2E8B is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.1% C 0.171 H 329.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F2E8B
RGBrgb(143, 46, 139)
HSLhsl(302, 51%, 37%)
HSVhsv(302, 68%, 56%)
CMYKcmyk(0%, 67.8%, 2.8%, 43.9%)
CIE-LABlab(37.22, 52.11, -31.34)
CIE-LCHlch(37.22, 60.81, 328.98°)
OKLaboklab(48.11% 0.147 -0.0864)
OKLCHoklch(48.11% 0.171 329.6)
XYZxyz(16.9648, 9.6589, 25.3919)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E8B #2E8F32
analogous
#632E8F #8F2E8B #8F2E5B
triadic
#8F2E8B #8B8F2E #2E8B8F
tetradic
#8F2E8B #8F632E #2E8F32 #2E5B8F
square
#8F2E8B #8F632E #2E8F32 #2E5B8F
split-complementary
#8F2E8B #5B8F2E #2E8F63
monochromatic
#321031 #611F5E #8F2E8B #BD3DB8 #CF69CA

Accessibility & contrast

On white

7.16
#8F2E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8F2E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2E8B
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2E8B#FFFFFF#000000##FFFFFF
##8F2E8B1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8E
Deuteranopia (green-blind)
#485C88
Tritanopia (blue-blind)
#943A58
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8f2e8b;
/* rgb */ color: rgb(143, 46, 139);
/* oklch */ color: oklch(48.1% 0.171 329.6);
Tailwind
colors: {
  custom: {
    50: '#b36fad',
    500: '#8f2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e8b;
$custom-light: #b36fad;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e8b",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 302.474,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48107,
    "c": 0.17051,
    "h": 329.6
  },
  "luminance": 0.09658
}

Semantic roles & 50–950 ramp

primary
#8F2E8B
secondary
#63B667
accent
#DB534D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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