#8D2DB2#8D2DB2

#8D2DB2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.205 H 314.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#8D2DB2
RGBrgb(141, 45, 178)
HSLhsl(283, 60%, 44%)
HSVhsv(283, 75%, 70%)
CMYKcmyk(20.8%, 74.7%, 0%, 30.2%)
CIE-LABlab(39.16, 59.41, -51.78)
CIE-LCHlch(39.16, 78.81, 318.93°)
OKLaboklab(50.2% 0.1439 -0.1461)
OKLCHoklch(50.2% 0.205 314.6)
XYZxyz(19.9574, 10.7545, 43.1354)
Luminance0.1075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2DB2 #52B22D
analogous
#4A2DB2 #8D2DB2 #B22D94
triadic
#8D2DB2 #B28D2D #2DB28D
tetradic
#8D2DB2 #B24A2D #52B22D #2D94B2
square
#8D2DB2 #B24A2D #52B22D #2D94B2
split-complementary
#8D2DB2 #94B22D #2DB24A
monochromatic
#401450 #662181 #8D2DB2 #AC4BD1 #C27CDE

Accessibility & contrast

On white

6.66
#8D2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#8D2DB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2DB2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2DB2#FFFFFF#000000##FFFFFF
##8D2DB21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#255FAF
Tritanopia (blue-blind)
#8A4A6E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2db2;
/* rgb */ color: rgb(141, 45, 178);
/* oklch */ color: oklch(50.2% 0.205 314.6);
Tailwind
colors: {
  custom: {
    50: '#b370ca',
    500: '#8d2db2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2db2;
$custom-light: #b370ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2db2",
  "rgb": {
    "r": 141,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 283.308,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.50199,
    "c": 0.20507,
    "h": 314.6
  },
  "luminance": 0.10754
}

Semantic roles & 50–950 ramp

primary
#8D2DB2
secondary
#8BC675
accent
#E34571
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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