#8D5CE9#8D5CE9

#8D5CE9 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.8% C 0.204 H 295.6°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5CE9
RGBrgb(141, 92, 233)
HSLhsl(261, 76%, 64%)
HSVhsv(261, 61%, 91%)
CMYKcmyk(39.5%, 60.5%, 0%, 8.6%)
CIE-LABlab(50.92, 50.14, -64.51)
CIE-LCHlch(50.92, 81.70, 307.86°)
OKLaboklab(59.83% 0.088 -0.1837)
OKLCHoklch(59.83% 0.204 295.6)
XYZxyz(29.5158, 19.1996, 79.2258)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CE9 #B8E95C
analogous
#5C71E9 #8D5CE9 #D35CE9
triadic
#8D5CE9 #E98D5C #5CE98D
tetradic
#8D5CE9 #E95C71 #B8E95C #5CE9D3
square
#8D5CE9 #E95C71 #B8E95C #5CE9D3
split-complementary
#8D5CE9 #E9D35C #71E95C
monochromatic
#4E18B3 #6726E2 #8D5CE9 #B392F0 #D8C8F8

Accessibility & contrast

On white

4.34
#8D5CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D5CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CE9
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CE9#FFFFFF#000000##000000
##8D5CE91.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEE
Deuteranopia (green-blind)
#0D77E6
Tritanopia (blue-blind)
#767B9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5ce9;
/* rgb */ color: rgb(141, 92, 233);
/* oklch */ color: oklch(59.8% 0.204 295.6);
Tailwind
colors: {
  custom: {
    50: '#b48cf1',
    500: '#8d5ce9',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ce9;
$custom-light: #b48cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ce9",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 233
  },
  "hsl": {
    "h": 260.851,
    "s": 76.216,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59831,
    "c": 0.20371,
    "h": 295.6
  },
  "luminance": 0.192
}

Semantic roles & 50–950 ramp

primary
#8D5CE9
secondary
#D8E9B8
accent
#D80D92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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