#8D5FEA#8D5FEA

#8D5FEA is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.3% C 0.201 H 294.9°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8D5FEA
RGBrgb(141, 95, 234)
HSLhsl(260, 77%, 65%)
HSVhsv(260, 59%, 92%)
CMYKcmyk(39.7%, 59.4%, 0%, 8.2%)
CIE-LABlab(51.60, 48.79, -63.98)
CIE-LCHlch(51.60, 80.46, 307.33°)
OKLaboklab(60.35% 0.0846 -0.1821)
OKLCHoklch(60.35% 0.201 294.9)
XYZxyz(29.9241, 19.7870, 80.0686)
Luminance0.1979 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FEA #BCEA5F
analogous
#5F77EA #8D5FEA #D35FEA
triadic
#8D5FEA #EA8D5F #5FEA8D
tetradic
#8D5FEA #EA5F77 #BCEA5F #5FEAD3
square
#8D5FEA #EA5F77 #BCEA5F #5FEAD3
split-complementary
#8D5FEA #EAD35F #77EA5F
monochromatic
#4C18B7 #6629E3 #8D5FEA #B495F1 #DACBF8

Accessibility & contrast

On white

4.24
#8D5FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#8D5FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FEA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FEA#FFFFFF#000000##000000
##8D5FEA1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEE
Deuteranopia (green-blind)
#1779E7
Tritanopia (blue-blind)
#757E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5fea;
/* rgb */ color: rgb(141, 95, 234);
/* oklch */ color: oklch(60.3% 0.201 294.9);
Tailwind
colors: {
  custom: {
    50: '#b48ef1',
    500: '#8d5fea',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fea;
$custom-light: #b48ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fea",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 234
  },
  "hsl": {
    "h": 259.856,
    "s": 76.796,
    "l": 64.51
  },
  "oklch": {
    "l": 0.60345,
    "c": 0.20085,
    "h": 294.9
  },
  "luminance": 0.19788
}

Semantic roles & 50–950 ramp

primary
#8D5FEA
secondary
#DBEABA
accent
#D90C95
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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