#8C5ADE#8C5ADE

#8C5ADE is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.193 H 297.6°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8C5ADE
RGBrgb(140, 90, 222)
HSLhsl(263, 67%, 61%)
HSVhsv(263, 59%, 87%)
CMYKcmyk(36.9%, 59.5%, 0%, 12.9%)
CIE-LABlab(49.69, 48.16, -60.29)
CIE-LCHlch(49.69, 77.16, 308.62°)
OKLaboklab(58.68% 0.0895 -0.1713)
OKLCHoklch(58.68% 0.193 297.6)
XYZxyz(27.6529, 18.1613, 71.1417)
Luminance0.1816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5ADE #ACDE5A
analogous
#5A6ADE #8C5ADE #CE5ADE
triadic
#8C5ADE #DE8C5A #5ADE8C
tetradic
#8C5ADE #DE5A6A #ACDE5A #5ADECE
square
#8C5ADE #DE5A6A #ACDE5A #5ADECE
split-complementary
#8C5ADE #DECE5A #6ADE5A
monochromatic
#4F209E #692AD1 #8C5ADE #B08DE8 #D3C0F2

Accessibility & contrast

On white

4.53
#8C5ADE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8C5ADE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5ADE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5ADE#FFFFFF#000000##000000
##8C5ADE1.004.534.634.63
#FFFFFF4.531.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E2
Deuteranopia (green-blind)
#2475DB
Tritanopia (blue-blind)
#797693
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8c5ade;
/* rgb */ color: rgb(140, 90, 222);
/* oklch */ color: oklch(58.7% 0.193 297.6);
Tailwind
colors: {
  custom: {
    50: '#b28be9',
    500: '#8c5ade',
    950: '#000000',
  },
}
SCSS
$custom: #8c5ade;
$custom-light: #b28be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5ade",
  "rgb": {
    "r": 140,
    "g": 90,
    "b": 222
  },
  "hsl": {
    "h": 262.727,
    "s": 66.667,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58681,
    "c": 0.19328,
    "h": 297.6
  },
  "luminance": 0.18162
}

Semantic roles & 50–950 ramp

primary
#8C5ADE
secondary
#D0E3B1
accent
#CF1789
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C5ADE

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

Preview Lab → · Contrast checker → · Palette generator →

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