#8C5CEF#8C5CEF

#8C5CEF is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.2% C 0.211 H 294.2°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8C5CEF
RGBrgb(140, 92, 239)
HSLhsl(260, 82%, 65%)
HSVhsv(260, 62%, 94%)
CMYKcmyk(41.4%, 61.5%, 0%, 6.3%)
CIE-LABlab(51.22, 51.50, -67.39)
CIE-LCHlch(51.22, 84.82, 307.39°)
OKLaboklab(60.16% 0.0864 -0.1922)
OKLCHoklch(60.16% 0.211 294.2)
XYZxyz(30.2182, 19.4610, 83.8088)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5CEF #BFEF5C
analogous
#5C75EF #8C5CEF #D65CEF
triadic
#8C5CEF #EF8C5C #5CEF8C
tetradic
#8C5CEF #EF5C75 #BFEF5C #5CEFD6
square
#8C5CEF #EF5C75 #BFEF5C #5CEFD6
split-complementary
#8C5CEF #EFD65C #75EF5C
monochromatic
#4B13BE #6524EA #8C5CEF #B394F4 #DBCBFA

Accessibility & contrast

On white

4.29
#8C5CEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#8C5CEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5CEF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5CEF#FFFFFF#000000##000000
##8C5CEF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF4
Deuteranopia (green-blind)
#0078EC
Tritanopia (blue-blind)
#727D9D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8c5cef;
/* rgb */ color: rgb(140, 92, 239);
/* oklch */ color: oklch(60.2% 0.211 294.2);
Tailwind
colors: {
  custom: {
    50: '#b48cf5',
    500: '#8c5cef',
    950: '#000000',
  },
}
SCSS
$custom: #8c5cef;
$custom-light: #b48cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5cef",
  "rgb": {
    "r": 140,
    "g": 92,
    "b": 239
  },
  "hsl": {
    "h": 259.592,
    "s": 82.123,
    "l": 64.902
  },
  "oklch": {
    "l": 0.60155,
    "c": 0.21073,
    "h": 294.2
  },
  "luminance": 0.19462
}

Semantic roles & 50–950 ramp

primary
#8C5CEF
secondary
#DCECBA
accent
#DF0798
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5CEF

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

Preview Lab → · Contrast checker → · Palette generator →

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