#8F2A85#8F2A85

#8F2A85 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.171 H 332.2°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#8F2A85
RGBrgb(143, 42, 133)
HSLhsl(306, 55%, 36%)
HSVhsv(306, 71%, 56%)
CMYKcmyk(0%, 70.6%, 7%, 43.9%)
CIE-LABlab(36.35, 52.66, -29.02)
CIE-LCHlch(36.35, 60.13, 331.14°)
OKLaboklab(47.37% 0.1511 -0.0797)
OKLCHoklch(47.37% 0.171 332.2)
XYZxyz(16.3893, 9.1903, 23.0965)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2A85 #2A8F34
analogous
#672A8F #8F2A85 #8F2A53
triadic
#8F2A85 #858F2A #2A858F
tetradic
#8F2A85 #8F672A #2A8F34 #2A538F
square
#8F2A85 #8F672A #2A8F34 #2A538F
split-complementary
#8F2A85 #538F2A #2A8F67
monochromatic
#300E2D #601C59 #8F2A85 #BE38B1 #D162C6

Accessibility & contrast

On white

7.40
#8F2A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8F2A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2A85
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2A85#FFFFFF#000000##FFFFFF
##8F2A851.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254C88
Deuteranopia (green-blind)
#495B82
Tritanopia (blue-blind)
#953454
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8f2a85;
/* rgb */ color: rgb(143, 42, 133);
/* oklch */ color: oklch(47.4% 0.171 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36da9',
    500: '#8f2a85',
    950: '#000000',
  },
}
SCSS
$custom: #8f2a85;
$custom-light: #b36da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2a85",
  "rgb": {
    "r": 143,
    "g": 42,
    "b": 133
  },
  "hsl": {
    "h": 305.941,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47371,
    "c": 0.17082,
    "h": 332.2
  },
  "luminance": 0.09189
}

Semantic roles & 50–950 ramp

primary
#8F2A85
secondary
#5EB767
accent
#DE594A
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2A85

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

Preview Lab → · Contrast checker → · Palette generator →

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