#8D2EAF#8D2EAF

#8D2EAF is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.201 H 315.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#8D2EAF
RGBrgb(141, 46, 175)
HSLhsl(284, 58%, 43%)
HSVhsv(284, 74%, 69%)
CMYKcmyk(19.4%, 73.7%, 0%, 31.4%)
CIE-LABlab(39.09, 58.42, -50.11)
CIE-LCHlch(39.09, 76.97, 319.38°)
OKLaboklab(50.08% 0.1434 -0.1412)
OKLCHoklch(50.08% 0.201 315.4)
XYZxyz(19.6981, 10.7126, 41.5792)
Luminance0.1071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2EAF #50AF2E
analogous
#4C2EAF #8D2EAF #AF2E90
triadic
#8D2EAF #AF8D2E #2EAF8D
tetradic
#8D2EAF #AF4C2E #50AF2E #2E90AF
square
#8D2EAF #AF4C2E #50AF2E #2E90AF
split-complementary
#8D2EAF #90AF2E #2EAF4C
monochromatic
#3F154E #66217F #8D2EAF #AD4BD0 #C37BDC

Accessibility & contrast

On white

6.68
#8D2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#8D2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2EAF
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2EAF#FFFFFF#000000##FFFFFF
##8D2EAF1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B3
Deuteranopia (green-blind)
#2A5FAC
Tritanopia (blue-blind)
#8A4A6C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8d2eaf;
/* rgb */ color: rgb(141, 46, 175);
/* oklch */ color: oklch(50.1% 0.201 315.4);
Tailwind
colors: {
  custom: {
    50: '#b270c8',
    500: '#8d2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #8d2eaf;
$custom-light: #b270c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2eaf",
  "rgb": {
    "r": 141,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 284.186,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50083,
    "c": 0.20123,
    "h": 315.4
  },
  "luminance": 0.10712
}

Semantic roles & 50–950 ramp

primary
#8D2EAF
secondary
#89C574
accent
#E2466F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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