#8F2B8D#8F2B8D

#8F2B8D is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.176 H 328.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#8F2B8D
RGBrgb(143, 43, 141)
HSLhsl(301, 54%, 36%)
HSVhsv(301, 70%, 56%)
CMYKcmyk(0%, 69.9%, 1.4%, 43.9%)
CIE-LABlab(36.91, 53.63, -33.06)
CIE-LCHlch(36.91, 63.00, 328.35°)
OKLaboklab(47.92% 0.1505 -0.0913)
OKLCHoklch(47.92% 0.176 328.7)
XYZxyz(16.9991, 9.4917, 26.1309)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B8D #2B8F2D
analogous
#5F2B8F #8F2B8D #8F2B5B
triadic
#8F2B8D #8D8F2B #2B8D8F
tetradic
#8F2B8D #8F5F2B #2B8F2D #2B5B8F
square
#8F2B8D #8F5F2B #2B8F2D #2B5B8F
split-complementary
#8F2B8D #5B8F2B #2B8F5F
monochromatic
#310F30 #601D5F #8F2B8D #BE39BB #D064CE

Accessibility & contrast

On white

7.25
#8F2B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8F2B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B8D
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B8D#FFFFFF#000000##FFFFFF
##8F2B8D1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4E90
Deuteranopia (green-blind)
#465B8A
Tritanopia (blue-blind)
#943959
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2b8d;
/* rgb */ color: rgb(143, 43, 141);
/* oklch */ color: oklch(47.9% 0.176 328.7);
Tailwind
colors: {
  custom: {
    50: '#b36eaf',
    500: '#8f2b8d',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b8d;
$custom-light: #b36eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b8d",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 141
  },
  "hsl": {
    "h": 301.2,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47919,
    "c": 0.17601,
    "h": 328.7
  },
  "luminance": 0.0949
}

Semantic roles & 50–950 ramp

primary
#8F2B8D
secondary
#5FB761
accent
#DD4E4B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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