#8D5BD2#8D5BD2

#8D5BD2 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.1% C 0.178 H 300.3°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D5BD2
RGBrgb(141, 91, 210)
HSLhsl(265, 57%, 59%)
HSVhsv(265, 57%, 82%)
CMYKcmyk(32.9%, 56.7%, 0%, 17.6%)
CIE-LABlab(49.25, 44.80, -54.16)
CIE-LCHlch(49.25, 70.29, 309.59°)
OKLaboklab(58.14% 0.0897 -0.1533)
OKLCHoklch(58.14% 0.178 300.3)
XYZxyz(26.3557, 17.7979, 63.0071)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BD2 #A0D25B
analogous
#5B65D2 #8D5BD2 #C95BD2
triadic
#8D5BD2 #D28D5B #5BD28D
tetradic
#8D5BD2 #D25B65 #A0D25B #5BD2C9
square
#8D5BD2 #D25B65 #A0D25B #5BD2C9
split-complementary
#8D5BD2 #D2C95B #65D25B
monochromatic
#51268C #6D34BC #8D5BD2 #AE8BDF #D0BBEC

Accessibility & contrast

On white

4.61
#8D5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8D5BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BD2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BD2#FFFFFF#000000##FFFFFF
##8D5BD21.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2575D6
Deuteranopia (green-blind)
#3974CF
Tritanopia (blue-blind)
#7F738E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d5bd2;
/* rgb */ color: rgb(141, 91, 210);
/* oklch */ color: oklch(58.1% 0.178 300.3);
Tailwind
colors: {
  custom: {
    50: '#b28be0',
    500: '#8d5bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bd2;
$custom-light: #b28be0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bd2",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 265.21,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58142,
    "c": 0.17763,
    "h": 300.3
  },
  "luminance": 0.17798
}

Semantic roles & 50–950 ramp

primary
#8D5BD2
secondary
#C8DCAD
accent
#E048A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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