#8C5DEF#8C5DEF

#8C5DEF is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.3% C 0.209 H 294.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8C5DEF
RGBrgb(140, 93, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 61%, 94%)
CMYKcmyk(41.4%, 61.1%, 0%, 6.3%)
CIE-LABlab(51.42, 50.97, -67.07)
CIE-LCHlch(51.42, 84.24, 307.23°)
OKLaboklab(60.3% 0.0853 -0.1913)
OKLCHoklch(60.3% 0.209 294)
XYZxyz(30.3054, 19.6354, 83.8379)
Luminance0.1964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5DEF #C0EF5D
analogous
#5D77EF #8C5DEF #D55DEF
triadic
#8C5DEF #EF8C5D #5DEF8C
tetradic
#8C5DEF #EF5D77 #C0EF5D #5DEFD5
square
#8C5DEF #EF5D77 #C0EF5D #5DEFD5
split-complementary
#8C5DEF #EFD55D #77EF5D
monochromatic
#4A13BF #6425E9 #8C5DEF #B495F5 #DBCCFA

Accessibility & contrast

On white

4.26
#8C5DEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8C5DEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5DEF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5DEF#FFFFFF#000000##000000
##8C5DEF1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#717E9D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8c5def;
/* rgb */ color: rgb(140, 93, 239);
/* oklch */ color: oklch(60.3% 0.209 294.0);
Tailwind
colors: {
  custom: {
    50: '#b48df5',
    500: '#8c5def',
    950: '#000000',
  },
}
SCSS
$custom: #8c5def;
$custom-light: #b48df5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5def",
  "rgb": {
    "r": 140,
    "g": 93,
    "b": 239
  },
  "hsl": {
    "h": 259.315,
    "s": 82.022,
    "l": 65.098
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.20942,
    "h": 294
  },
  "luminance": 0.19636
}

Semantic roles & 50–950 ramp

primary
#8C5DEF
secondary
#DDEDBB
accent
#DE0799
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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