#8F2383#8F2383

#8F2383 is a mid, vivid purple. Relative luminance 0.087; OKLCH L 46.6% C 0.178 H 333.0°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#8F2383
RGBrgb(143, 35, 131)
HSLhsl(307, 61%, 35%)
HSVhsv(307, 76%, 56%)
CMYKcmyk(0%, 75.5%, 8.4%, 43.9%)
CIE-LABlab(35.36, 54.83, -29.33)
CIE-LCHlch(35.36, 62.18, 331.85°)
OKLaboklab(46.63% 0.1582 -0.0805)
OKLCHoklch(46.63% 0.178 333)
XYZxyz(16.0255, 8.6818, 22.3000)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2383 #238F2F
analogous
#65238F #8F2383 #8F234D
triadic
#8F2383 #838F23 #23838F
tetradic
#8F2383 #8F6523 #238F2F #234D8F
square
#8F2383 #8F6523 #238F2F #234D8F
split-complementary
#8F2383 #4D8F23 #238F65
monochromatic
#2D0B29 #5E1756 #8F2383 #C02FB0 #D657C8

Accessibility & contrast

On white

7.68
#8F2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#8F2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2383
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2383#FFFFFF#000000##FFFFFF
##8F23831.007.682.747.68
#FFFFFF7.681.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4986
Deuteranopia (green-blind)
#475980
Tritanopia (blue-blind)
#962E51
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2383;
/* rgb */ color: rgb(143, 35, 131);
/* oklch */ color: oklch(46.6% 0.178 333.0);
Tailwind
colors: {
  custom: {
    50: '#b36aa7',
    500: '#8f2383',
    950: '#000000',
  },
}
SCSS
$custom: #8f2383;
$custom-light: #b36aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2383",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 306.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46628,
    "c": 0.17753,
    "h": 333
  },
  "luminance": 0.0868
}

Semantic roles & 50–950 ramp

primary
#8F2383
secondary
#54BA5F
accent
#E45644
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2383

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

Preview Lab → · Contrast checker → · Palette generator →

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