#8D5FE3#8D5FE3

#8D5FE3 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 59.9% C 0.192 H 296.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE3
RGBrgb(141, 95, 227)
HSLhsl(261, 70%, 63%)
HSVhsv(261, 58%, 89%)
CMYKcmyk(37.9%, 58.1%, 0%, 11%)
CIE-LABlab(51.14, 46.96, -60.77)
CIE-LCHlch(51.14, 76.80, 307.69°)
OKLaboklab(59.87% 0.0848 -0.1727)
OKLCHoklch(59.87% 0.192 296.2)
XYZxyz(28.9383, 19.3927, 74.8767)
Luminance0.1939 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE3 #B5E35F
analogous
#5F73E3 #8D5FE3 #CF5FE3
triadic
#8D5FE3 #E38D5F #5FE38D
tetradic
#8D5FE3 #E35F73 #B5E35F #5FE3CF
square
#8D5FE3 #E35F73 #B5E35F #5FE3CF
split-complementary
#8D5FE3 #E3CF5F #73E35F
monochromatic
#4F1EAA #682BDA #8D5FE3 #B293EC #D7C7F5

Accessibility & contrast

On white

4.30
#8D5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#8D5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE3
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE3#FFFFFF#000000##000000
##8D5FE31.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0C7BE7
Deuteranopia (green-blind)
#2878E0
Tritanopia (blue-blind)
#787B98
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5fe3;
/* rgb */ color: rgb(141, 95, 227);
/* oklch */ color: oklch(59.9% 0.192 296.2);
Tailwind
colors: {
  custom: {
    50: '#b38eed',
    500: '#8d5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe3;
$custom-light: #b38eed;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe3",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 260.909,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.5987,
    "c": 0.19241,
    "h": 296.2
  },
  "luminance": 0.19393
}

Semantic roles & 50–950 ramp

primary
#8D5FE3
secondary
#D6E7B7
accent
#D21390
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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