#8F2B85#8F2B85

#8F2B85 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.170 H 332.2°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#8F2B85
RGBrgb(143, 43, 133)
HSLhsl(306, 54%, 36%)
HSVhsv(306, 70%, 56%)
CMYKcmyk(0%, 69.9%, 7%, 43.9%)
CIE-LABlab(36.48, 52.28, -28.81)
CIE-LCHlch(36.48, 59.69, 331.14°)
OKLaboklab(47.47% 0.15 -0.0791)
OKLCHoklch(47.47% 0.17 332.2)
XYZxyz(16.4252, 9.2621, 23.1084)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2B85 #2B8F35
analogous
#672B8F #8F2B85 #8F2B53
triadic
#8F2B85 #858F2B #2B858F
tetradic
#8F2B85 #8F672B #2B8F35 #2B538F
square
#8F2B85 #8F672B #2B8F35 #2B538F
split-complementary
#8F2B85 #538F2B #2B8F67
monochromatic
#310F2D #601D59 #8F2B85 #BE39B1 #D064C6

Accessibility & contrast

On white

7.36
#8F2B85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#8F2B85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8F2B85
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2B85#FFFFFF#000000##FFFFFF
##8F2B851.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264D88
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#953554
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8f2b85;
/* rgb */ color: rgb(143, 43, 133);
/* oklch */ color: oklch(47.5% 0.170 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36da9',
    500: '#8f2b85',
    950: '#000000',
  },
}
SCSS
$custom: #8f2b85;
$custom-light: #b36da9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2b85",
  "rgb": {
    "r": 143,
    "g": 43,
    "b": 133
  },
  "hsl": {
    "h": 306,
    "s": 53.763,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47469,
    "c": 0.16956,
    "h": 332.2
  },
  "luminance": 0.09261
}

Semantic roles & 50–950 ramp

primary
#8F2B85
secondary
#5FB768
accent
#DD594B
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2B85

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

Preview Lab → · Contrast checker → · Palette generator →

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