#8C5BF5#8C5BF5

#8C5BF5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.4% C 0.219 H 293.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8C5BF5
RGBrgb(140, 91, 245)
HSLhsl(259, 89%, 66%)
HSVhsv(259, 63%, 96%)
CMYKcmyk(42.9%, 62.9%, 0%, 3.9%)
CIE-LABlab(51.44, 53.61, -70.39)
CIE-LCHlch(51.44, 88.49, 307.29°)
OKLaboklab(60.44% 0.087 -0.201)
OKLCHoklch(60.44% 0.219 293.4)
XYZxyz(31.0333, 19.6493, 88.5261)
Luminance0.1965 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5BF5 #C4F55B
analogous
#5B77F5 #8C5BF5 #D95BF5
triadic
#8C5BF5 #F58C5B #5BF58C
tetradic
#8C5BF5 #F55B77 #C4F55B #5BF5D9
square
#8C5BF5 #F55B77 #C4F55B #5BF5D9
split-complementary
#8C5BF5 #F5D95B #77F55B
monochromatic
#480CC9 #6421F1 #8C5BF5 #B495F9 #DDCEFC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C5BF5#FFFFFF#000000##000000
##8C5BF51.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)
#007CFA
Deuteranopia (green-blind)
#0078F2
Tritanopia (blue-blind)
#6F7FA0
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8c5bf5;
/* rgb */ color: rgb(140, 91, 245);
/* oklch */ color: oklch(60.4% 0.219 293.4);
Tailwind
colors: {
  custom: {
    50: '#b58cf9',
    500: '#8c5bf5',
    950: '#000000',
  },
}
SCSS
$custom: #8c5bf5;
$custom-light: #b58cf9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5bf5",
  "rgb": {
    "r": 140,
    "g": 91,
    "b": 245
  },
  "hsl": {
    "h": 259.091,
    "s": 88.506,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60443,
    "c": 0.21906,
    "h": 293.4
  },
  "luminance": 0.1965
}

Semantic roles & 50–950 ramp

primary
#8C5BF5
secondary
#DFEFBC
accent
#E5009C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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