#8D5BE3#8D5BE3

#8D5BE3 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.3% C 0.198 H 296.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE3
RGBrgb(141, 91, 227)
HSLhsl(262, 71%, 62%)
HSVhsv(262, 60%, 89%)
CMYKcmyk(37.9%, 59.9%, 0%, 11%)
CIE-LABlab(50.32, 49.13, -62.09)
CIE-LCHlch(50.32, 79.17, 308.35°)
OKLaboklab(59.27% 0.0895 -0.1766)
OKLCHoklch(59.27% 0.198 296.9)
XYZxyz(28.5872, 18.6905, 74.7596)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE3 #B1E35B
analogous
#5B6DE3 #8D5BE3 #D15BE3
triadic
#8D5BE3 #E38D5B #5BE38D
tetradic
#8D5BE3 #E35B6D #B1E35B #5BE3D1
square
#8D5BE3 #E35B6D #B1E35B #5BE3D1
split-complementary
#8D5BE3 #E3D15B #6DE35B
monochromatic
#4F1DA7 #6927DA #8D5BE3 #B18FEC #D6C4F5

Accessibility & contrast

On white

4.43
#8D5BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#8D5BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE3#FFFFFF#000000##000000
##8D5BE31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E7
Deuteranopia (green-blind)
#1E76E0
Tritanopia (blue-blind)
#787996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5be3;
/* rgb */ color: rgb(141, 91, 227);
/* oklch */ color: oklch(59.3% 0.198 296.9);
Tailwind
colors: {
  custom: {
    50: '#b38bed',
    500: '#8d5be3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be3;
$custom-light: #b38bed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be3",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 262.059,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.5927,
    "c": 0.19796,
    "h": 296.9
  },
  "luminance": 0.18691
}

Semantic roles & 50–950 ramp

primary
#8D5BE3
secondary
#D3E6B4
accent
#D3138C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D5BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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