#8D5CE1#8D5CE1

#8D5CE1 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.3% C 0.194 H 297.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE1
RGBrgb(141, 92, 225)
HSLhsl(262, 69%, 62%)
HSVhsv(262, 59%, 88%)
CMYKcmyk(37.3%, 59.1%, 0%, 11.8%)
CIE-LABlab(50.40, 48.07, -60.84)
CIE-LCHlch(50.40, 77.54, 308.31°)
OKLaboklab(59.28% 0.0884 -0.1729)
OKLCHoklch(59.28% 0.194 297.1)
XYZxyz(28.3988, 18.7528, 73.3430)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE1 #B0E15C
analogous
#5C6EE1 #8D5CE1 #CF5CE1
triadic
#8D5CE1 #E18D5C #5CE18D
tetradic
#8D5CE1 #E15C6E #B0E15C #5CE1CF
square
#8D5CE1 #E15C6E #B0E15C #5CE1CF
split-complementary
#8D5CE1 #E1CF5C #6EE15C
monochromatic
#501EA4 #6928D7 #8D5CE1 #B190EB #D5C3F4

Accessibility & contrast

On white

4.42
#8D5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#8D5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE1
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE1#FFFFFF#000000##000000
##8D5CE11.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E5
Deuteranopia (green-blind)
#2576DE
Tritanopia (blue-blind)
#797996
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d5ce1;
/* rgb */ color: rgb(141, 92, 225);
/* oklch */ color: oklch(59.3% 0.194 297.1);
Tailwind
colors: {
  custom: {
    50: '#b38ceb',
    500: '#8d5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce1;
$custom-light: #b38ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce1",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 262.105,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59283,
    "c": 0.1942,
    "h": 297.1
  },
  "luminance": 0.18753
}

Semantic roles & 50–950 ramp

primary
#8D5CE1
secondary
#D3E5B4
accent
#D1158C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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