#8D5CEA#8D5CEA

#8D5CEA is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 59.9% C 0.205 H 295.4°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#8D5CEA
RGBrgb(141, 92, 234)
HSLhsl(261, 77%, 64%)
HSVhsv(261, 61%, 92%)
CMYKcmyk(39.7%, 60.7%, 0%, 8.2%)
CIE-LABlab(50.99, 50.40, -64.96)
CIE-LCHlch(50.99, 82.22, 307.81°)
OKLaboklab(59.9% 0.088 -0.185)
OKLCHoklch(59.9% 0.205 295.4)
XYZxyz(29.6590, 19.2569, 79.9803)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CEA #B9EA5C
analogous
#5C72EA #8D5CEA #D45CEA
triadic
#8D5CEA #EA8D5C #5CEA8D
tetradic
#8D5CEA #EA5C72 #B9EA5C #5CEAD4
square
#8D5CEA #EA5C72 #B9EA5C #5CEAD4
split-complementary
#8D5CEA #EAD45C #72EA5C
monochromatic
#4D17B4 #6726E3 #8D5CEA #B392F1 #D9C8F8

Accessibility & contrast

On white

4.33
#8D5CEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#8D5CEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CEA
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CEA#FFFFFF#000000##000000
##8D5CEA1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEF
Deuteranopia (green-blind)
#0877E7
Tritanopia (blue-blind)
#757C9A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5cea;
/* rgb */ color: rgb(141, 92, 234);
/* oklch */ color: oklch(59.9% 0.205 295.4);
Tailwind
colors: {
  custom: {
    50: '#b48cf2',
    500: '#8d5cea',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cea;
$custom-light: #b48cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cea",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 234
  },
  "hsl": {
    "h": 260.704,
    "s": 77.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.599,
    "c": 0.2049,
    "h": 295.4
  },
  "luminance": 0.19258
}

Semantic roles & 50–950 ramp

primary
#8D5CEA
secondary
#D9EAB8
accent
#D90C93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5CEA

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

Preview Lab → · Contrast checker → · Palette generator →

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