#8C5FF0#8C5FF0

#8C5FF0 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.208 H 293.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8C5FF0
RGBrgb(140, 95, 240)
HSLhsl(259, 83%, 66%)
HSVhsv(259, 60%, 94%)
CMYKcmyk(41.7%, 60.4%, 0%, 5.9%)
CIE-LABlab(51.89, 50.16, -66.86)
CIE-LCHlch(51.89, 83.58, 306.88°)
OKLaboklab(60.67% 0.0831 -0.1907)
OKLCHoklch(60.67% 0.208 293.5)
XYZxyz(30.6314, 20.0503, 84.6774)
Luminance0.2005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5FF0 #C3F05F
analogous
#5F7AF0 #8C5FF0 #D55FF0
triadic
#8C5FF0 #F08C5F #5FF08C
tetradic
#8C5FF0 #F05F7A #C3F05F #5FF0D5
square
#8C5FF0 #F05F7A #C3F05F #5FF0D5
split-complementary
#8C5FF0 #F0D55F #7AF05F
monochromatic
#4912C2 #6427EB #8C5FF0 #B497F5 #DCCFFA

Accessibility & contrast

On white

4.19
#8C5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8C5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5FF0
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5FF0#FFFFFF#000000##000000
##8C5FF01.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF5
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#71809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8c5ff0;
/* rgb */ color: rgb(140, 95, 240);
/* oklch */ color: oklch(60.7% 0.208 293.5);
Tailwind
colors: {
  custom: {
    50: '#b48ef6',
    500: '#8c5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8c5ff0;
$custom-light: #b48ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5ff0",
  "rgb": {
    "r": 140,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 258.621,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60666,
    "c": 0.20797,
    "h": 293.5
  },
  "luminance": 0.20051
}

Semantic roles & 50–950 ramp

primary
#8C5FF0
secondary
#DFEEBD
accent
#DF069C
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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