#8D5BEB#8D5BEB

#8D5BEB is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 59.8% C 0.207 H 295.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8D5BEB
RGBrgb(141, 91, 235)
HSLhsl(261, 78%, 64%)
HSVhsv(261, 61%, 92%)
CMYKcmyk(40%, 61.3%, 0%, 7.8%)
CIE-LABlab(50.85, 51.20, -65.74)
CIE-LCHlch(50.85, 83.32, 307.91°)
OKLaboklab(59.83% 0.089 -0.1873)
OKLCHoklch(59.83% 0.207 295.4)
XYZxyz(29.7170, 19.1424, 80.7103)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BEB #B9EB5B
analogous
#5B71EB #8D5BEB #D55BEB
triadic
#8D5BEB #EB8D5B #5BEB8D
tetradic
#8D5BEB #EB5B71 #B9EB5B #5BEBD5
square
#8D5BEB #EB5B71 #B9EB5B #5BEBD5
split-complementary
#8D5BEB #EBD55B #71EB5B
monochromatic
#4D16B5 #6724E4 #8D5BEB #B392F2 #D9C8F8

Accessibility & contrast

On white

4.35
#8D5BEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8D5BEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BEB
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BEB#FFFFFF#000000##000000
##8D5BEB1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#757B9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5beb;
/* rgb */ color: rgb(141, 91, 235);
/* oklch */ color: oklch(59.8% 0.207 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48cf2',
    500: '#8d5beb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5beb;
$custom-light: #b48cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5beb",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 235
  },
  "hsl": {
    "h": 260.833,
    "s": 78.261,
    "l": 63.922
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.20741,
    "h": 295.4
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#8D5BEB
secondary
#D9EAB8
accent
#DB0B92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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