#8D56B2#8D56B2

#8D56B2 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.4% C 0.147 H 310.0°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8D56B2
RGBrgb(141, 86, 178)
HSLhsl(276, 37%, 52%)
HSVhsv(276, 52%, 70%)
CMYKcmyk(20.8%, 51.7%, 0%, 30.2%)
CIE-LABlab(46.36, 39.82, -40.28)
CIE-LCHlch(46.36, 56.64, 314.68°)
OKLaboklab(55.41% 0.0946 -0.1127)
OKLCHoklch(55.41% 0.147 310)
XYZxyz(22.3467, 15.5330, 43.9318)
Luminance0.1553 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56B2 #7BB256
analogous
#5F56B2 #8D56B2 #B256A9
triadic
#8D56B2 #B28D56 #56B28D
tetradic
#8D56B2 #B25F56 #7BB256 #56A9B2
square
#8D56B2 #B25F56 #7BB256 #56A9B2
split-complementary
#8D56B2 #A9B256 #56B25F
monochromatic
#4C2C61 #6D3F8B #8D56B2 #A980C5 #C6AAD8

Accessibility & contrast

On white

5.11
#8D56B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8D56B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56B2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56B2#FFFFFF#000000##FFFFFF
##8D56B21.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D6BB5
Deuteranopia (green-blind)
#4E6FB0
Tritanopia (blue-blind)
#88657C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8d56b2;
/* rgb */ color: rgb(141, 86, 178);
/* oklch */ color: oklch(55.4% 0.147 310.0);
Tailwind
colors: {
  custom: {
    50: '#b087c9',
    500: '#8d56b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d56b2;
$custom-light: #b087c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56b2",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 178
  },
  "hsl": {
    "h": 275.87,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55414,
    "c": 0.14714,
    "h": 310
  },
  "luminance": 0.15533
}

Semantic roles & 50–950 ramp

primary
#8D56B2
secondary
#AEC69E
accent
#CD5A89
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8D56B2

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

Preview Lab → · Contrast checker → · Palette generator →

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