#8D5BB2#8D5BB2

#8D5BB2 is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.2% C 0.139 H 309.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8D5BB2
RGBrgb(141, 91, 178)
HSLhsl(274, 36%, 53%)
HSVhsv(274, 49%, 70%)
CMYKcmyk(20.8%, 48.9%, 0%, 30.2%)
CIE-LABlab(47.44, 37.03, -38.56)
CIE-LCHlch(47.44, 53.46, 313.84°)
OKLaboklab(56.22% 0.0876 -0.1077)
OKLCHoklch(56.22% 0.139 309.1)
XYZxyz(22.7599, 16.3596, 44.0696)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BB2 #80B25B
analogous
#615BB2 #8D5BB2 #B25BAB
triadic
#8D5BB2 #B28D5B #5BB28D
tetradic
#8D5BB2 #B2615B #80B25B #5BABB2
square
#8D5BB2 #B2615B #80B25B #5BABB2
split-complementary
#8D5BB2 #ABB25B #5BB261
monochromatic
#4D2F64 #6E428D #8D5BB2 #AA85C6 #C7AED9

Accessibility & contrast

On white

4.92
#8D5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8D5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D5BB2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BB2#FFFFFF#000000##FFFFFF
##8D5BB21.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456EB5
Deuteranopia (green-blind)
#5371B0
Tritanopia (blue-blind)
#88697E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8d5bb2;
/* rgb */ color: rgb(141, 91, 178);
/* oklch */ color: oklch(56.2% 0.139 309.1);
Tailwind
colors: {
  custom: {
    50: '#b08bc9',
    500: '#8d5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bb2;
$custom-light: #b08bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bb2",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 274.483,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56221,
    "c": 0.13881,
    "h": 309.1
  },
  "luminance": 0.16359
}

Semantic roles & 50–950 ramp

primary
#8D5BB2
secondary
#B2C7A2
accent
#CC5C8B
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #8D5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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