#8D5BCA#8D5BCA

#8D5BCA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.6% C 0.168 H 302.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8D5BCA
RGBrgb(141, 91, 202)
HSLhsl(267, 51%, 57%)
HSVhsv(267, 55%, 79%)
CMYKcmyk(30.2%, 55%, 0%, 20.8%)
CIE-LABlab(48.77, 42.80, -50.35)
CIE-LCHlch(48.77, 66.08, 310.37°)
OKLaboklab(57.64% 0.0895 -0.1421)
OKLCHoklch(57.64% 0.168 302.2)
XYZxyz(25.3838, 17.4091, 57.8887)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BCA #98CA5B
analogous
#5B61CA #8D5BCA #C45BCA
triadic
#8D5BCA #CA8D5B #5BCA8D
tetradic
#8D5BCA #CA5B61 #98CA5B #5BCAC4
square
#8D5BCA #CA5B61 #98CA5B #5BCAC4
split-complementary
#8D5BCA #CAC45B #61CA5B
monochromatic
#512A81 #6E39AF #8D5BCA #AD89D9 #CDB8E8

Accessibility & contrast

On white

4.69
#8D5BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8D5BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BCA
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BCA#FFFFFF#000000##FFFFFF
##8D5BCA1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3073CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#81718A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d5bca;
/* rgb */ color: rgb(141, 91, 202);
/* oklch */ color: oklch(57.6% 0.168 302.2);
Tailwind
colors: {
  custom: {
    50: '#b28bdb',
    500: '#8d5bca',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bca;
$custom-light: #b28bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bca",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 202
  },
  "hsl": {
    "h": 267.027,
    "s": 51.152,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57636,
    "c": 0.16796,
    "h": 302.2
  },
  "luminance": 0.17409
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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