#8D5BE1#8D5BE1

#8D5BE1 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.196 H 297.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE1
RGBrgb(141, 91, 225)
HSLhsl(262, 69%, 62%)
HSVhsv(262, 60%, 88%)
CMYKcmyk(37.3%, 59.6%, 0%, 11.8%)
CIE-LABlab(50.19, 48.61, -61.17)
CIE-LCHlch(50.19, 78.13, 308.47°)
OKLaboklab(59.13% 0.0895 -0.1739)
OKLCHoklch(59.13% 0.196 297.2)
XYZxyz(28.3127, 18.5807, 73.3143)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE1 #AFE15B
analogous
#5B6CE1 #8D5BE1 #D05BE1
triadic
#8D5BE1 #E18D5B #5BE18D
tetradic
#8D5BE1 #E15B6C #AFE15B #5BE1D0
square
#8D5BE1 #E15B6C #AFE15B #5BE1D0
split-complementary
#8D5BE1 #E1D05B #6CE15B
monochromatic
#501EA4 #6927D7 #8D5BE1 #B18FEA #D5C2F4

Accessibility & contrast

On white

4.45
#8D5BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#8D5BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE1
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE1#FFFFFF#000000##000000
##8D5BE11.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2276DE
Tritanopia (blue-blind)
#797895
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8d5be1;
/* rgb */ color: rgb(141, 91, 225);
/* oklch */ color: oklch(59.1% 0.196 297.2);
Tailwind
colors: {
  custom: {
    50: '#b38beb',
    500: '#8d5be1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be1;
$custom-light: #b38beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be1",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 262.388,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59134,
    "c": 0.19558,
    "h": 297.2
  },
  "luminance": 0.18581
}

Semantic roles & 50–950 ramp

primary
#8D5BE1
secondary
#D2E5B3
accent
#D1148B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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