#8D5CF8#8D5CF8

#8D5CF8 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.9% C 0.221 H 293.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D5CF8
RGBrgb(141, 92, 248)
HSLhsl(259, 92%, 67%)
HSVhsv(259, 63%, 97%)
CMYKcmyk(43.1%, 62.9%, 0%, 2.7%)
CIE-LABlab(51.94, 54.07, -71.24)
CIE-LCHlch(51.94, 89.44, 307.20°)
OKLaboklab(60.9% 0.087 -0.2035)
OKLCHoklch(60.9% 0.221 293.1)
XYZxyz(31.7503, 20.0934, 90.9943)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF8 #C7F85C
analogous
#5C79F8 #8D5CF8 #DB5CF8
triadic
#8D5CF8 #F88D5C #5CF88D
tetradic
#8D5CF8 #F85C79 #C7F85C #5CF8DB
square
#8D5CF8 #F85C79 #C7F85C #5CF8DB
split-complementary
#8D5CF8 #F8DB5C #79F85C
monochromatic
#4809D1 #6421F5 #8D5CF8 #B697FB #DFD1FD

Accessibility & contrast

On white

4.18
#8D5CF8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8D5CF8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CF8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CF8#FFFFFF#000000##000000
##8D5CF81.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFD
Deuteranopia (green-blind)
#0079F5
Tritanopia (blue-blind)
#6F80A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5cf8;
/* rgb */ color: rgb(141, 92, 248);
/* oklch */ color: oklch(60.9% 0.221 293.1);
Tailwind
colors: {
  custom: {
    50: '#b58dfb',
    500: '#8d5cf8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf8;
$custom-light: #b58dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf8",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 248
  },
  "hsl": {
    "h": 258.846,
    "s": 91.765,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60897,
    "c": 0.22132,
    "h": 293.1
  },
  "luminance": 0.20094
}

Semantic roles & 50–950 ramp

primary
#8D5CF8
secondary
#E1F1BF
accent
#E6009D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5CF8

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

Preview Lab → · Contrast checker → · Palette generator →

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