#8D2EB3#8D2EB3

#8D2EB3 is a mid, highly saturated purple. Relative luminance 0.109; OKLCH L 50.4% C 0.205 H 314.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#8D2EB3
RGBrgb(141, 46, 179)
HSLhsl(283, 59%, 44%)
HSVhsv(283, 74%, 70%)
CMYKcmyk(21.2%, 74.3%, 0%, 29.8%)
CIE-LABlab(39.36, 59.24, -52.05)
CIE-LCHlch(39.36, 78.85, 318.70°)
OKLaboklab(50.36% 0.1428 -0.1469)
OKLCHoklch(50.36% 0.205 314.2)
XYZxyz(20.0968, 10.8721, 43.6790)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB3 #54B32E
analogous
#4B2EB3 #8D2EB3 #B32E97
triadic
#8D2EB3 #B38D2E #2EB38D
tetradic
#8D2EB3 #B34B2E #54B32E #2E97B3
square
#8D2EB3 #B34B2E #54B32E #2E97B3
split-complementary
#8D2EB3 #97B32E #2EB34B
monochromatic
#401552 #672182 #8D2EB3 #AB4DD1 #C27EDE

Accessibility & contrast

On white

6.62
#8D2EB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D2EB3
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EB3#FFFFFF#000000##FFFFFF
##8D2EB31.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#255FB0
Tritanopia (blue-blind)
#894B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2eb3;
/* rgb */ color: rgb(141, 46, 179);
/* oklch */ color: oklch(50.4% 0.205 314.2);
Tailwind
colors: {
  custom: {
    50: '#b370ca',
    500: '#8d2eb3',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb3;
$custom-light: #b370ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb3",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 179
  },
  "hsl": {
    "h": 282.857,
    "s": 59.111,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50362,
    "c": 0.20488,
    "h": 314.2
  },
  "luminance": 0.10871
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D2EB3

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

Preview Lab → · Contrast checker → · Palette generator →

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