#8D47BB#8D47BB

#8D47BB is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.8% C 0.181 H 309.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8D47BB
RGBrgb(141, 71, 187)
HSLhsl(276, 46%, 51%)
HSVhsv(276, 62%, 73%)
CMYKcmyk(24.6%, 62%, 0%, 26.7%)
CIE-LABlab(43.88, 49.83, -49.48)
CIE-LCHlch(43.88, 70.23, 315.20°)
OKLaboklab(53.77% 0.1147 -0.1395)
OKLCHoklch(53.77% 0.181 309.4)
XYZxyz(22.2056, 13.7575, 48.4897)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D47BB #75BB47
analogous
#5347BB #8D47BB #BB47AF
triadic
#8D47BB #BB8D47 #47BB8D
tetradic
#8D47BB #BB5347 #75BB47 #47AFBB
square
#8D47BB #BB5347 #75BB47 #47AFBB
split-complementary
#8D47BB #AFBB47 #47BB53
monochromatic
#4A2563 #6C3590 #8D47BB #A974CC #C4A0DC

Accessibility & contrast

On white

5.60
#8D47BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#8D47BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D47BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D47BB#FFFFFF#000000##FFFFFF
##8D47BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1065BF
Deuteranopia (green-blind)
#3769B8
Tritanopia (blue-blind)
#875E7A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8d47bb;
/* rgb */ color: rgb(141, 71, 187);
/* oklch */ color: oklch(53.8% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#b27ed0',
    500: '#8d47bb',
    950: '#000000',
  },
}
SCSS
$custom: #8d47bb;
$custom-light: #b27ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d47bb",
  "rgb": {
    "r": 141,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 276.207,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.5377,
    "c": 0.18062,
    "h": 309.4
  },
  "luminance": 0.13757
}

Semantic roles & 50–950 ramp

primary
#8D47BB
secondary
#AAC995
accent
#D65286
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8D47BB

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

Preview Lab → · Contrast checker → · Palette generator →

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