#8D2EA2#8D2EA2

#8D2EA2 is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.2% C 0.189 H 319.7°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#8D2EA2
RGBrgb(141, 46, 162)
HSLhsl(289, 56%, 41%)
HSVhsv(289, 72%, 64%)
CMYKcmyk(13%, 71.6%, 0%, 36.5%)
CIE-LABlab(38.25, 55.86, -43.71)
CIE-LCHlch(38.25, 70.92, 321.96°)
OKLaboklab(49.21% 0.1446 -0.1224)
OKLCHoklch(49.21% 0.189 319.7)
XYZxyz(18.4823, 10.2263, 35.1757)
Luminance0.1022 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EA2 #43A22E
analogous
#532EA2 #8D2EA2 #A22E7D
triadic
#8D2EA2 #A28D2E #2EA28D
tetradic
#8D2EA2 #A2532E #43A22E #2E7DA2
square
#8D2EA2 #A2532E #43A22E #2E7DA2
split-complementary
#8D2EA2 #7DA22E #2EA253
monochromatic
#3A1343 #642072 #8D2EA2 #B143CA #C573D7

Accessibility & contrast

On white

6.90
#8D2EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8D2EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EA2
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EA2#FFFFFF#000000##FFFFFF
##8D2EA21.006.903.056.90
#FFFFFF6.901.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A5
Deuteranopia (green-blind)
#385D9F
Tritanopia (blue-blind)
#8D4465
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d2ea2;
/* rgb */ color: rgb(141, 46, 162);
/* oklch */ color: oklch(49.2% 0.189 319.7);
Tailwind
colors: {
  custom: {
    50: '#b270be',
    500: '#8d2ea2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2ea2;
$custom-light: #b270be;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2ea2",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 289.138,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.4921,
    "c": 0.18946,
    "h": 319.7
  },
  "luminance": 0.10225
}

Semantic roles & 50–950 ramp

primary
#8D2EA2
secondary
#7CBF6D
accent
#DF4964
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #8D2EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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