#8D289D#8D289D

#8D289D is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.192 H 321.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#8D289D
RGBrgb(141, 40, 157)
HSLhsl(292, 59%, 39%)
HSVhsv(292, 75%, 62%)
CMYKcmyk(10.2%, 74.5%, 0%, 38.4%)
CIE-LABlab(37.14, 57.15, -42.46)
CIE-LCHlch(37.14, 71.19, 323.39°)
OKLaboklab(48.32% 0.1509 -0.1187)
OKLCHoklch(48.32% 0.192 321.8)
XYZxyz(17.8284, 9.6156, 32.8087)
Luminance0.0961 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D289D #389D28
analogous
#52289D #8D289D #9D2872
triadic
#8D289D #9D8D28 #289D8D
tetradic
#8D289D #9D5228 #389D28 #28729D
square
#8D289D #9D5228 #389D28 #28729D
split-complementary
#8D289D #729D28 #289D52
monochromatic
#350F3B #611C6C #8D289D #B736CC #C967D8

Accessibility & contrast

On white

7.18
#8D289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8D289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D289D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D289D#FFFFFF#000000##FFFFFF
##8D289D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A0
Deuteranopia (green-blind)
#385B9A
Tritanopia (blue-blind)
#8E3E61
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8d289d;
/* rgb */ color: rgb(141, 40, 157);
/* oklch */ color: oklch(48.3% 0.192 321.8);
Tailwind
colors: {
  custom: {
    50: '#b26dba',
    500: '#8d289d',
    950: '#000000',
  },
}
SCSS
$custom: #8d289d;
$custom-light: #b26dba;
$custom-dark: #000000;
JSON
{
  "hex": "#8d289d",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 291.795,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.19202,
    "h": 321.8
  },
  "luminance": 0.09615
}

Semantic roles & 50–950 ramp

primary
#8D289D
secondary
#6FBE62
accent
#E3455B
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D289D

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

Preview Lab → · Contrast checker → · Palette generator →

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