#8D2FB6#8D2FB6

#8D2FB6 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.7% C 0.207 H 313.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D2FB6
RGBrgb(141, 47, 182)
HSLhsl(282, 59%, 45%)
HSVhsv(282, 74%, 71%)
CMYKcmyk(22.5%, 74.2%, 0%, 28.6%)
CIE-LABlab(39.70, 59.47, -53.27)
CIE-LCHlch(39.70, 79.84, 318.15°)
OKLaboklab(50.67% 0.1415 -0.1505)
OKLCHoklch(50.67% 0.207 313.2)
XYZxyz(20.4430, 11.0738, 45.3075)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D2FB6 #58B62F
analogous
#4A2FB6 #8D2FB6 #B62F9B
triadic
#8D2FB6 #B68D2F #2FB68D
tetradic
#8D2FB6 #B64A2F #58B62F #2F9BB6
square
#8D2FB6 #B64A2F #58B62F #2F9BB6
split-complementary
#8D2FB6 #9BB62F #2FB64A
monochromatic
#421655 #672285 #8D2FB6 #AB50D2 #C281DE

Accessibility & contrast

On white

6.53
#8D2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D2FB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D2FB6
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D2FB6#FFFFFF#000000##FFFFFF
##8D2FB61.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BA
Deuteranopia (green-blind)
#2260B3
Tritanopia (blue-blind)
#894D70
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d2fb6;
/* rgb */ color: rgb(141, 47, 182);
/* oklch */ color: oklch(50.7% 0.207 313.2);
Tailwind
colors: {
  custom: {
    50: '#b371cd',
    500: '#8d2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #8d2fb6;
$custom-light: #b371cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d2fb6",
  "rgb": {
    "r": 141,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 281.778,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.50669,
    "c": 0.20653,
    "h": 313.2
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#8D2FB6
secondary
#91C779
accent
#E24675
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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