#8D5ACB#8D5ACB

#8D5ACB is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.5% C 0.171 H 302.2°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8D5ACB
RGBrgb(141, 90, 203)
HSLhsl(267, 52%, 57%)
HSVhsv(267, 56%, 80%)
CMYKcmyk(30.5%, 55.7%, 0%, 20.4%)
CIE-LABlab(48.62, 43.60, -51.16)
CIE-LCHlch(48.62, 67.22, 310.44°)
OKLaboklab(57.54% 0.0908 -0.1445)
OKLCHoklch(57.54% 0.171 302.2)
XYZxyz(25.4177, 17.2868, 58.4859)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5ACB #98CB5A
analogous
#5A5FCB #8D5ACB #C65ACB
triadic
#8D5ACB #CB8D5A #5ACB8D
tetradic
#8D5ACB #CB5A5F #98CB5A #5ACBC6
square
#8D5ACB #CB5A5F #98CB5A #5ACBC6
split-complementary
#8D5ACB #CBC65A #5FCB5A
monochromatic
#512982 #6E38B0 #8D5ACB #AD89DA #CDB7E8

Accessibility & contrast

On white

4.71
#8D5ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8D5ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5ACB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5ACB#FFFFFF#000000##FFFFFF
##8D5ACB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D73CF
Deuteranopia (green-blind)
#3F73C8
Tritanopia (blue-blind)
#81708A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d5acb;
/* rgb */ color: rgb(141, 90, 203);
/* oklch */ color: oklch(57.5% 0.171 302.2);
Tailwind
colors: {
  custom: {
    50: '#b28adb',
    500: '#8d5acb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5acb;
$custom-light: #b28adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5acb",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 267.08,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.17068,
    "h": 302.2
  },
  "luminance": 0.17287
}

Semantic roles & 50–950 ramp

primary
#8D5ACB
secondary
#C3D7AA
accent
#DC4C9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8D5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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