#8D2EB5#8D2EB5

#8D2EB5 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.207 H 313.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#8D2EB5
RGBrgb(141, 46, 181)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 75%, 71%)
CMYKcmyk(22.1%, 74.6%, 0%, 29%)
CIE-LABlab(39.50, 59.64, -53.01)
CIE-LCHlch(39.50, 79.79, 318.37°)
OKLaboklab(50.5% 0.1425 -0.1497)
OKLCHoklch(50.5% 0.207 313.6)
XYZxyz(20.3005, 10.9536, 44.7520)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EB5 #56B52E
analogous
#4A2EB5 #8D2EB5 #B52E9A
triadic
#8D2EB5 #B58D2E #2EB58D
tetradic
#8D2EB5 #B54A2E #56B52E #2E9AB5
square
#8D2EB5 #B54A2E #56B52E #2E9AB5
split-complementary
#8D2EB5 #9AB52E #2EB54A
monochromatic
#411553 #672284 #8D2EB5 #AB4ED2 #C27FDE

Accessibility & contrast

On white

6.58
#8D2EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#8D2EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EB5
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EB5#FFFFFF#000000##FFFFFF
##8D2EB51.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#225FB2
Tritanopia (blue-blind)
#894C70
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2eb5;
/* rgb */ color: rgb(141, 46, 181);
/* oklch */ color: oklch(50.5% 0.207 313.6);
Tailwind
colors: {
  custom: {
    50: '#b370cc',
    500: '#8d2eb5',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eb5;
$custom-light: #b370cc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eb5",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 282.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50504,
    "c": 0.20671,
    "h": 313.6
  },
  "luminance": 0.10953
}

Semantic roles & 50–950 ramp

primary
#8D2EB5
secondary
#8FC778
accent
#E34574
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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