#8D5EF3#8D5EF3

#8D5EF3 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.213 H 293.6°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D5EF3
RGBrgb(141, 94, 243)
HSLhsl(259, 86%, 66%)
HSVhsv(259, 61%, 95%)
CMYKcmyk(42%, 61.3%, 0%, 4.7%)
CIE-LABlab(51.99, 51.69, -68.37)
CIE-LCHlch(51.99, 85.71, 307.09°)
OKLaboklab(60.83% 0.0853 -0.1951)
OKLCHoklch(60.83% 0.213 293.6)
XYZxyz(31.1605, 20.1384, 87.0220)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5EF3 #C4F35E
analogous
#5E79F3 #8D5EF3 #D75EF3
triadic
#8D5EF3 #F38D5E #5EF38D
tetradic
#8D5EF3 #F35E79 #C4F35E #5EF3D7
square
#8D5EF3 #F35E79 #C4F35E #5EF3D7
split-complementary
#8D5EF3 #F3D75E #79F35E
monochromatic
#490FC8 #6525EF #8D5EF3 #B597F7 #DED0FB

Accessibility & contrast

On white

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

On black

5.03
#8D5EF3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5EF3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5EF3#FFFFFF#000000##000000
##8D5EF31.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF8
Deuteranopia (green-blind)
#0079F0
Tritanopia (blue-blind)
#7180A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5ef3;
/* rgb */ color: rgb(141, 94, 243);
/* oklch */ color: oklch(60.8% 0.213 293.6);
Tailwind
colors: {
  custom: {
    50: '#b58ef8',
    500: '#8d5ef3',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ef3;
$custom-light: #b58ef8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ef3",
  "rgb": {
    "r": 141,
    "g": 94,
    "b": 243
  },
  "hsl": {
    "h": 258.926,
    "s": 86.127,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60825,
    "c": 0.2129,
    "h": 293.6
  },
  "luminance": 0.20139
}

Semantic roles & 50–950 ramp

primary
#8D5EF3
secondary
#DFEFBE
accent
#E3039C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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