#8D5BE9#8D5BE9

#8D5BE9 is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.205 H 295.8°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D5BE9
RGBrgb(141, 91, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(39.5%, 60.9%, 0%, 8.6%)
CIE-LABlab(50.72, 50.68, -64.83)
CIE-LCHlch(50.72, 82.29, 308.01°)
OKLaboklab(59.69% 0.0892 -0.1847)
OKLCHoklch(59.69% 0.205 295.8)
XYZxyz(29.4297, 19.0275, 79.1971)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BE9 #B7E95B
analogous
#5B70E9 #8D5BE9 #D45BE9
triadic
#8D5BE9 #E98D5B #5BE98D
tetradic
#8D5BE9 #E95B70 #B7E95B #5BE9D4
square
#8D5BE9 #E95B70 #B7E95B #5BE9D4
split-complementary
#8D5BE9 #E9D45B #70E95B
monochromatic
#4E18B2 #6725E2 #8D5BE9 #B391F0 #D8C7F7

Accessibility & contrast

On white

4.37
#8D5BE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D5BE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BE9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BE9#FFFFFF#000000##000000
##8D5BE91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0777E6
Tritanopia (blue-blind)
#767B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5be9;
/* rgb */ color: rgb(141, 91, 233);
/* oklch */ color: oklch(59.7% 0.205 295.8);
Tailwind
colors: {
  custom: {
    50: '#b48cf1',
    500: '#8d5be9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5be9;
$custom-light: #b48cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5be9",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 233
  },
  "hsl": {
    "h": 261.127,
    "s": 76.344,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59685,
    "c": 0.20506,
    "h": 295.8
  },
  "luminance": 0.19028
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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