#8F2382#8F2382

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

Color values

HEX#8F2382
RGBrgb(143, 35, 130)
HSLhsl(307, 61%, 35%)
HSVhsv(307, 76%, 56%)
CMYKcmyk(0%, 75.5%, 9.1%, 43.9%)
CIE-LABlab(35.31, 54.67, -28.79)
CIE-LCHlch(35.31, 61.79, 332.22°)
OKLaboklab(46.57% 0.1582 -0.079)
OKLCHoklch(46.57% 0.177 333.5)
XYZxyz(15.9581, 8.6548, 21.9448)
Luminance0.0865 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2382 #238F30
analogous
#66238F #8F2382 #8F234C
triadic
#8F2382 #828F23 #23828F
tetradic
#8F2382 #8F6623 #238F30 #234C8F
square
#8F2382 #8F6623 #238F30 #234C8F
split-complementary
#8F2382 #4C8F23 #238F66
monochromatic
#2D0B29 #5E1755 #8F2382 #C02FAF #D657C6

Accessibility & contrast

On white

7.69
#8F2382 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#8F2382 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2382
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2382#FFFFFF#000000##FFFFFF
##8F23821.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4985
Deuteranopia (green-blind)
#48597F
Tritanopia (blue-blind)
#962E50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #8f2382;
/* rgb */ color: rgb(143, 35, 130);
/* oklch */ color: oklch(46.6% 0.177 333.5);
Tailwind
colors: {
  custom: {
    50: '#b36aa6',
    500: '#8f2382',
    950: '#000000',
  },
}
SCSS
$custom: #8f2382;
$custom-light: #b36aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2382",
  "rgb": {
    "r": 143,
    "g": 35,
    "b": 130
  },
  "hsl": {
    "h": 307.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.46572,
    "c": 0.17678,
    "h": 333.5
  },
  "luminance": 0.08653
}

Semantic roles & 50–950 ramp

primary
#8F2382
secondary
#54BA60
accent
#E45744
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8F2382

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

Preview Lab → · Contrast checker → · Palette generator →

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