#8D5CF9#8D5CF9

#8D5CF9 is a mid, highly saturated violet. Relative luminance 0.202; OKLCH L 61.0% C 0.222 H 293.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D5CF9
RGBrgb(141, 92, 249)
HSLhsl(259, 93%, 67%)
HSVhsv(259, 63%, 98%)
CMYKcmyk(43.4%, 63.1%, 0%, 2.4%)
CIE-LABlab(52.01, 54.34, -71.69)
CIE-LCHlch(52.01, 89.95, 307.16°)
OKLaboklab(60.97% 0.0869 -0.2048)
OKLCHoklch(60.97% 0.222 293)
XYZxyz(31.9059, 20.1556, 91.8135)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CF9 #C8F95C
analogous
#5C7AF9 #8D5CF9 #DB5CF9
triadic
#8D5CF9 #F98D5C #5CF98D
tetradic
#8D5CF9 #F95C7A #C8F95C #5CF9DB
square
#8D5CF9 #F95C7A #C8F95C #5CF9DB
split-complementary
#8D5CF9 #F9DB5C #7AF95C
monochromatic
#4708D3 #6421F7 #8D5CF9 #B697FB #E0D2FD

Accessibility & contrast

On white

4.17
#8D5CF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5CF9#FFFFFF#000000##000000
##8D5CF91.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EFE
Deuteranopia (green-blind)
#0079F6
Tritanopia (blue-blind)
#6E81A2
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5cf9;
/* rgb */ color: rgb(141, 92, 249);
/* oklch */ color: oklch(61.0% 0.222 293.0);
Tailwind
colors: {
  custom: {
    50: '#b68dfc',
    500: '#8d5cf9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cf9;
$custom-light: #b68dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cf9",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 249
  },
  "hsl": {
    "h": 258.726,
    "s": 92.899,
    "l": 66.863
  },
  "oklch": {
    "l": 0.6097,
    "c": 0.22249,
    "h": 293
  },
  "luminance": 0.20157
}

Semantic roles & 50–950 ramp

primary
#8D5CF9
secondary
#E2F2BF
accent
#E6009E
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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