#8D2FB2#8D2FB2

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

Color values

HEX#8D2FB2
RGBrgb(141, 47, 178)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 74%, 70%)
CMYKcmyk(20.8%, 73.6%, 0%, 30.2%)
CIE-LABlab(39.43, 58.65, -51.35)
CIE-LCHlch(39.43, 77.95, 318.80°)
OKLaboklab(50.39% 0.142 -0.1448)
OKLCHoklch(50.39% 0.203 314.4)
XYZxyz(20.0356, 10.9108, 43.1614)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB2 #54B22F
analogous
#4B2FB2 #8D2FB2 #B22F96
triadic
#8D2FB2 #B28D2F #2FB28D
tetradic
#8D2FB2 #B24B2F #54B22F #2F96B2
square
#8D2FB2 #B24B2F #54B22F #2F96B2
split-complementary
#8D2FB2 #96B22F #2FB24B
monochromatic
#401551 #672282 #8D2FB2 #AB4ED0 #C27EDD

Accessibility & contrast

On white

6.60
#8D2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#8D2FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB2
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB2#FFFFFF#000000##FFFFFF
##8D2FB21.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#285FAF
Tritanopia (blue-blind)
#8A4B6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d2fb2;
/* rgb */ color: rgb(141, 47, 178);
/* oklch */ color: oklch(50.4% 0.203 314.4);
Tailwind
colors: {
  custom: {
    50: '#b271ca',
    500: '#8d2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb2;
$custom-light: #b271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb2",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 283.053,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50387,
    "c": 0.20284,
    "h": 314.4
  },
  "luminance": 0.1091
}

Semantic roles & 50–950 ramp

primary
#8D2FB2
secondary
#8DC677
accent
#E14672
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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