#8D5AF3#8D5AF3

#8D5AF3 is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.3% C 0.218 H 294.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8D5AF3
RGBrgb(141, 90, 243)
HSLhsl(260, 86%, 65%)
HSVhsv(260, 63%, 95%)
CMYKcmyk(42%, 63%, 0%, 4.7%)
CIE-LABlab(51.20, 53.81, -69.65)
CIE-LCHlch(51.20, 88.02, 307.69°)
OKLaboklab(60.25% 0.0895 -0.1988)
OKLCHoklch(60.25% 0.218 294.2)
XYZxyz(30.8140, 19.4453, 86.9065)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5AF3 #C0F35A
analogous
#5A73F3 #8D5AF3 #DA5AF3
triadic
#8D5AF3 #F38D5A #5AF38D
tetradic
#8D5AF3 #F35A73 #C0F35A #5AF3DA
square
#8D5AF3 #F35A73 #C0F35A #5AF3DA
split-complementary
#8D5AF3 #F3DA5A #73F35A
monochromatic
#4B0EC4 #6621EF #8D5AF3 #B493F7 #DCCCFB

Accessibility & contrast

On white

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

On black

4.89
#8D5AF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5AF3
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5AF3#FFFFFF#000000##000000
##8D5AF31.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF8
Deuteranopia (green-blind)
#0077F0
Tritanopia (blue-blind)
#717D9F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8d5af3;
/* rgb */ color: rgb(141, 90, 243);
/* oklch */ color: oklch(60.3% 0.218 294.2);
Tailwind
colors: {
  custom: {
    50: '#b58bf8',
    500: '#8d5af3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5af3;
$custom-light: #b58bf8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5af3",
  "rgb": {
    "r": 141,
    "g": 90,
    "b": 243
  },
  "hsl": {
    "h": 260,
    "s": 86.441,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60252,
    "c": 0.21805,
    "h": 294.2
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#8D5AF3
secondary
#DDEEBB
accent
#E30398
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5AF3

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

Preview Lab → · Contrast checker → · Palette generator →

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