#8D5CE8#8D5CE8

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

Color values

HEX#8D5CE8
RGBrgb(141, 92, 232)
HSLhsl(261, 75%, 64%)
HSVhsv(261, 60%, 91%)
CMYKcmyk(39.2%, 60.3%, 0%, 9%)
CIE-LABlab(50.85, 49.88, -64.05)
CIE-LCHlch(50.85, 81.19, 307.91°)
OKLaboklab(59.76% 0.0881 -0.1824)
OKLCHoklch(59.76% 0.203 295.8)
XYZxyz(29.3733, 19.1426, 78.4756)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE8 #B7E85C
analogous
#5C71E8 #8D5CE8 #D35CE8
triadic
#8D5CE8 #E88D5C #5CE88D
tetradic
#8D5CE8 #E85C71 #B7E85C #5CE8D3
square
#8D5CE8 #E85C71 #B7E85C #5CE8D3
split-complementary
#8D5CE8 #E8D35C #71E85C
monochromatic
#4E19B1 #6726E0 #8D5CE8 #B392F0 #D8C7F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CE8#FFFFFF#000000##000000
##8D5CE81.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)
#007AEC
Deuteranopia (green-blind)
#1277E5
Tritanopia (blue-blind)
#767B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ce8;
/* rgb */ color: rgb(141, 92, 232);
/* oklch */ color: oklch(59.8% 0.203 295.8);
Tailwind
colors: {
  custom: {
    50: '#b48cf0',
    500: '#8d5ce8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce8;
$custom-light: #b48cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce8",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 261,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.20253,
    "h": 295.8
  },
  "luminance": 0.19143
}

Semantic roles & 50–950 ramp

primary
#8D5CE8
secondary
#D7E9B7
accent
#D70E91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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