#8D2F85#8D2F85

#8D2F85 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.6% C 0.163 H 331.4°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8D2F85
RGBrgb(141, 47, 133)
HSLhsl(305, 50%, 37%)
HSVhsv(305, 67%, 55%)
CMYKcmyk(0%, 66.7%, 5.7%, 44.7%)
CIE-LABlab(36.73, 50.16, -28.45)
CIE-LCHlch(36.73, 57.66, 330.43°)
OKLaboklab(47.58% 0.1431 -0.0781)
OKLCHoklch(47.58% 0.163 331.4)
XYZxyz(16.2346, 9.3904, 23.1432)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2F85 #2F8D37
analogous
#662F8D #8D2F85 #8D2F56
triadic
#8D2F85 #858D2F #2F858D
tetradic
#8D2F85 #8D662F #2F8D37 #2F568D
square
#8D2F85 #8D662F #2F8D37 #2F568D
split-complementary
#8D2F85 #568D2F #2F8D66
monochromatic
#31102E #5F205A #8D2F85 #BB3EB0 #CD69C5

Accessibility & contrast

On white

7.30
#8D2F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8D2F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D2F85
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2F85#FFFFFF#000000##FFFFFF
##8D2F851.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294E88
Deuteranopia (green-blind)
#4A5B83
Tritanopia (blue-blind)
#933856
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8d2f85;
/* rgb */ color: rgb(141, 47, 133);
/* oklch */ color: oklch(47.6% 0.163 331.4);
Tailwind
colors: {
  custom: {
    50: '#b16fa9',
    500: '#8d2f85',
    950: '#000000',
  },
}
SCSS
$custom: #8d2f85;
$custom-light: #b16fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2f85",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 133
  },
  "hsl": {
    "h": 305.106,
    "s": 50,
    "l": 36.863
  },
  "oklch": {
    "l": 0.47579,
    "c": 0.16304,
    "h": 331.4
  },
  "luminance": 0.09389
}

Semantic roles & 50–950 ramp

primary
#8D2F85
secondary
#64B46A
accent
#DA5A4E
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8D2F85

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

Preview Lab → · Contrast checker → · Palette generator →

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