#8D5BEC#8D5BEC

#8D5BEC is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.209 H 295.3°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5BEC
RGBrgb(141, 91, 236)
HSLhsl(261, 79%, 64%)
HSVhsv(261, 61%, 93%)
CMYKcmyk(40.3%, 61.4%, 0%, 7.5%)
CIE-LABlab(50.92, 51.46, -66.19)
CIE-LCHlch(50.92, 83.84, 307.86°)
OKLaboklab(59.9% 0.089 -0.1887)
OKLCHoklch(59.9% 0.209 295.3)
XYZxyz(29.8619, 19.2004, 81.4733)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BEC #BAEC5B
analogous
#5B72EC #8D5BEC #D65BEC
triadic
#8D5BEC #EC8D5B #5BEC8D
tetradic
#8D5BEC #EC5B72 #BAEC5B #5BECD6
square
#8D5BEC #EC5B72 #BAEC5B #5BECD6
split-complementary
#8D5BEC #ECD65B #72EC5B
monochromatic
#4D15B7 #6724E6 #8D5BEC #B392F2 #D9C9F9

Accessibility & contrast

On white

4.34
#8D5BEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D5BEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BEC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BEC#FFFFFF#000000##000000
##8D5BEC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#757C9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5bec;
/* rgb */ color: rgb(141, 91, 236);
/* oklch */ color: oklch(59.9% 0.209 295.3);
Tailwind
colors: {
  custom: {
    50: '#b48cf3',
    500: '#8d5bec',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bec;
$custom-light: #b48cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bec",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 236
  },
  "hsl": {
    "h": 260.69,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.59895,
    "c": 0.20858,
    "h": 295.3
  },
  "luminance": 0.19201
}

Semantic roles & 50–950 ramp

primary
#8D5BEC
secondary
#D9EBB8
accent
#DC0A93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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