#8C5BEF#8C5BEF

#8C5BEF is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.212 H 294.4°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8C5BEF
RGBrgb(140, 91, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 62%, 94%)
CMYKcmyk(41.4%, 61.9%, 0%, 6.3%)
CIE-LABlab(51.02, 52.04, -67.71)
CIE-LCHlch(51.02, 85.40, 307.54°)
OKLaboklab(60.01% 0.0875 -0.1932)
OKLCHoklch(60.01% 0.212 294.4)
XYZxyz(30.1321, 19.2889, 83.7802)
Luminance0.1929 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5BEF #BEEF5B
analogous
#5B74EF #8C5BEF #D65BEF
triadic
#8C5BEF #EF8C5B #5BEF8C
tetradic
#8C5BEF #EF5B74 #BEEF5B #5BEFD6
square
#8C5BEF #EF5B74 #BEEF5B #5BEFD6
split-complementary
#8C5BEF #EFD65B #74EF5B
monochromatic
#4B12BD #6523EA #8C5BEF #B393F4 #DACBFA

Accessibility & contrast

On white

4.32
#8C5BEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#8C5BEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5BEF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5BEF#FFFFFF#000000##000000
##8C5BEF1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#727D9D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c5bef;
/* rgb */ color: rgb(140, 91, 239);
/* oklch */ color: oklch(60.0% 0.212 294.4);
Tailwind
colors: {
  custom: {
    50: '#b48cf5',
    500: '#8c5bef',
    950: '#000000',
  },
}
SCSS
$custom: #8c5bef;
$custom-light: #b48cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5bef",
  "rgb": {
    "r": 140,
    "g": 91,
    "b": 239
  },
  "hsl": {
    "h": 259.865,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60011,
    "c": 0.21204,
    "h": 294.4
  },
  "luminance": 0.1929
}

Semantic roles & 50–950 ramp

primary
#8C5BEF
secondary
#DBECBA
accent
#DF0797
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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