#8F2E85#8F2E85

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

Color values

HEX#8F2E85
RGBrgb(143, 46, 133)
HSLhsl(306, 51%, 37%)
HSVhsv(306, 68%, 56%)
CMYKcmyk(0%, 67.8%, 7%, 43.9%)
CIE-LABlab(36.91, 51.09, -28.14)
CIE-LCHlch(36.91, 58.33, 331.15°)
OKLaboklab(47.78% 0.1465 -0.0772)
OKLCHoklch(47.78% 0.166 332.2)
XYZxyz(16.5383, 9.4884, 23.1461)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2E85 #2E8F38
analogous
#692E8F #8F2E85 #8F2E54
triadic
#8F2E85 #858F2E #2E858F
tetradic
#8F2E85 #8F692E #2E8F38 #2E548F
square
#8F2E85 #8F692E #2E8F38 #2E548F
split-complementary
#8F2E85 #548F2E #2E8F69
monochromatic
#32102F #611F5A #8F2E85 #BD3DB0 #CF69C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F2E85#FFFFFF#000000##FFFFFF
##8F2E851.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)
#294E88
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#953755
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8f2e85;
/* rgb */ color: rgb(143, 46, 133);
/* oklch */ color: oklch(47.8% 0.166 332.2);
Tailwind
colors: {
  custom: {
    50: '#b36fa9',
    500: '#8f2e85',
    950: '#000000',
  },
}
SCSS
$custom: #8f2e85;
$custom-light: #b36fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2e85",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 306.186,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47776,
    "c": 0.16562,
    "h": 332.2
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#8F2E85
secondary
#63B66C
accent
#DB5C4D
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8F2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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