#8D2892#8D2892

#8D2892 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.183 H 325.9°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#8D2892
RGBrgb(141, 40, 146)
HSLhsl(297, 57%, 36%)
HSVhsv(297, 73%, 57%)
CMYKcmyk(3.4%, 72.6%, 0%, 42.7%)
CIE-LABlab(36.47, 55.15, -36.84)
CIE-LCHlch(36.47, 66.32, 326.26°)
OKLaboklab(47.63% 0.1514 -0.1023)
OKLCHoklch(47.63% 0.183 325.9)
XYZxyz(16.9313, 9.2567, 28.0835)
Luminance0.0926 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2892 #2D9228
analogous
#582892 #8D2892 #922862
triadic
#8D2892 #928D28 #28928D
tetradic
#8D2892 #925828 #2D9228 #286292
square
#8D2892 #925828 #2D9228 #286292
split-complementary
#8D2892 #629228 #289258
monochromatic
#300E32 #5F1B62 #8D2892 #BB35C2 #CE61D4

Accessibility & contrast

On white

7.37
#8D2892 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #8D2892
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2892#FFFFFF#000000##FFFFFF
##8D28921.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4E95
Deuteranopia (green-blind)
#405A8F
Tritanopia (blue-blind)
#91395A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2892;
/* rgb */ color: rgb(141, 40, 146);
/* oklch */ color: oklch(47.6% 0.183 325.9);
Tailwind
colors: {
  custom: {
    50: '#b26cb2',
    500: '#8d2892',
    950: '#000000',
  },
}
SCSS
$custom: #8d2892;
$custom-light: #b26cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2892",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 146
  },
  "hsl": {
    "h": 297.17,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4763,
    "c": 0.18273,
    "h": 325.9
  },
  "luminance": 0.09256
}

Semantic roles & 50–950 ramp

primary
#8D2892
secondary
#61B95D
accent
#E0484F
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8D2892

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

Preview Lab → · Contrast checker → · Palette generator →

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