#8D2EB2#8D2EB2

#8D2EB2 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.3% C 0.204 H 314.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#8D2EB2
RGBrgb(141, 46, 178)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 70%)
CMYKcmyk(20.8%, 74.2%, 0%, 30.2%)
CIE-LABlab(39.30, 59.03, -51.57)
CIE-LCHlch(39.30, 78.38, 318.86°)
OKLaboklab(50.29% 0.143 -0.1455)
OKLCHoklch(50.29% 0.204 314.5)
XYZxyz(19.9960, 10.8318, 43.1483)
Luminance0.1083 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB2 #53B22E
analogous
#4B2EB2 #8D2EB2 #B22E95
triadic
#8D2EB2 #B28D2E #2EB28D
tetradic
#8D2EB2 #B24B2E #53B22E #2E95B2
square
#8D2EB2 #B24B2E #53B22E #2E95B2
split-complementary
#8D2EB2 #95B22E #2EB24B
monochromatic
#401551 #662181 #8D2EB2 #AC4CD1 #C27DDD

Accessibility & contrast

On white

6.63
#8D2EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#8D2EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EB2
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EB2#FFFFFF#000000##FFFFFF
##8D2EB21.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#275FAF
Tritanopia (blue-blind)
#8A4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2eb2;
/* rgb */ color: rgb(141, 46, 178);
/* oklch */ color: oklch(50.3% 0.204 314.5);
Tailwind
colors: {
  custom: {
    50: '#b370ca',
    500: '#8d2eb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb2;
$custom-light: #b370ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb2",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 178
  },
  "hsl": {
    "h": 283.182,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50292,
    "c": 0.20397,
    "h": 314.5
  },
  "luminance": 0.10831
}

Semantic roles & 50–950 ramp

primary
#8D2EB2
secondary
#8CC676
accent
#E24672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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