#8C5ADA#8C5ADA

#8C5ADA is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.189 H 298.4°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8C5ADA
RGBrgb(140, 90, 218)
HSLhsl(263, 63%, 60%)
HSVhsv(263, 59%, 85%)
CMYKcmyk(35.8%, 58.7%, 0%, 14.5%)
CIE-LABlab(49.43, 47.14, -58.43)
CIE-LCHlch(49.43, 75.07, 308.89°)
OKLaboklab(58.41% 0.0896 -0.1659)
OKLCHoklch(58.41% 0.189 298.4)
XYZxyz(27.1231, 17.9494, 68.3517)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5ADA #A8DA5A
analogous
#5A68DA #8C5ADA #CC5ADA
triadic
#8C5ADA #DA8C5A #5ADA8C
tetradic
#8C5ADA #DA5A68 #A8DA5A #5ADACC
square
#8C5ADA #DA5A68 #A8DA5A #5ADACC
split-complementary
#8C5ADA #DACC5A #68DA5A
monochromatic
#502298 #6A2DCA #8C5ADA #AF8CE5 #D2BEF0

Accessibility & contrast

On white

4.58
#8C5ADA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8C5ADA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5ADA
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5ADA#FFFFFF#000000##000000
##8C5ADA1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D76DE
Deuteranopia (green-blind)
#2B74D7
Tritanopia (blue-blind)
#7A7591
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8c5ada;
/* rgb */ color: rgb(140, 90, 218);
/* oklch */ color: oklch(58.4% 0.189 298.4);
Tailwind
colors: {
  custom: {
    50: '#b28be6',
    500: '#8c5ada',
    950: '#000000',
  },
}
SCSS
$custom: #8c5ada;
$custom-light: #b28be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5ada",
  "rgb": {
    "r": 140,
    "g": 90,
    "b": 218
  },
  "hsl": {
    "h": 263.438,
    "s": 63.366,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.18852,
    "h": 298.4
  },
  "luminance": 0.1795
}

Semantic roles & 50–950 ramp

primary
#8C5ADA
secondary
#CDE0AF
accent
#CB1A86
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C5ADA

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

Preview Lab → · Contrast checker → · Palette generator →

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