#8D2FAF#8D2FAF

#8D2FAF is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.2% C 0.200 H 315.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#8D2FAF
RGBrgb(141, 47, 175)
HSLhsl(284, 58%, 44%)
HSVhsv(284, 73%, 69%)
CMYKcmyk(19.4%, 73.1%, 0%, 31.4%)
CIE-LABlab(39.23, 58.04, -49.90)
CIE-LCHlch(39.23, 76.54, 319.31°)
OKLaboklab(50.18% 0.1424 -0.1406)
OKLCHoklch(50.18% 0.2 315.4)
XYZxyz(19.7376, 10.7916, 41.5924)
Luminance0.1079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FAF #51AF2F
analogous
#4D2FAF #8D2FAF #AF2F91
triadic
#8D2FAF #AF8D2F #2FAF8D
tetradic
#8D2FAF #AF4D2F #51AF2F #2F91AF
square
#8D2FAF #AF4D2F #51AF2F #2F91AF
split-complementary
#8D2FAF #91AF2F #2FAF4D
monochromatic
#3F154F #66227F #8D2FAF #AC4CCF #C37CDC

Accessibility & contrast

On white

6.65
#8D2FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#8D2FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FAF
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FAF#FFFFFF#000000##FFFFFF
##8D2FAF1.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d2faf;
/* rgb */ color: rgb(141, 47, 175);
/* oklch */ color: oklch(50.2% 0.200 315.4);
Tailwind
colors: {
  custom: {
    50: '#b271c8',
    500: '#8d2faf',
    950: '#000000',
  },
}
SCSS
$custom: #8d2faf;
$custom-light: #b271c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2faf",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 284.063,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.50179,
    "c": 0.20009,
    "h": 315.4
  },
  "luminance": 0.10791
}

Semantic roles & 50–950 ramp

primary
#8D2FAF
secondary
#8AC475
accent
#E14770
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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