#8D56DB#8D56DB

#8D56DB is a mid, vivid violet. Relative luminance 0.174; OKLCH L 58.0% C 0.195 H 299.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8D56DB
RGBrgb(141, 86, 219)
HSLhsl(265, 65%, 60%)
HSVhsv(265, 61%, 86%)
CMYKcmyk(35.6%, 60.7%, 0%, 14.1%)
CIE-LABlab(48.80, 49.76, -60.01)
CIE-LCHlch(48.80, 77.96, 309.66°)
OKLaboklab(58% 0.0956 -0.1705)
OKLCHoklch(58% 0.195 299.3)
XYZxyz(27.0953, 17.4325, 68.9414)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56DB #A4DB56
analogous
#5662DB #8D56DB #CF56DB
triadic
#8D56DB #DB8D56 #56DB8D
tetradic
#8D56DB #DB5662 #A4DB56 #56DBCF
square
#8D56DB #DB5662 #A4DB56 #56DBCF
split-complementary
#8D56DB #DBCF56 #62DB56
monochromatic
#512097 #6C2BC9 #8D56DB #AF88E6 #D1BBF0

Accessibility & contrast

On white

4.68
#8D56DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8D56DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56DB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56DB#FFFFFF#000000##FFFFFF
##8D56DB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2373D8
Tritanopia (blue-blind)
#7C7390
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d56db;
/* rgb */ color: rgb(141, 86, 219);
/* oklch */ color: oklch(58.0% 0.195 299.3);
Tailwind
colors: {
  custom: {
    50: '#b388e7',
    500: '#8d56db',
    950: '#000000',
  },
}
SCSS
$custom: #8d56db;
$custom-light: #b388e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56db",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 264.812,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57995,
    "c": 0.19544,
    "h": 299.3
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#8D56DB
secondary
#CBE0AD
accent
#E840A2
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D56DB

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

Preview Lab → · Contrast checker → · Palette generator →

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