#8C5BF2#8C5BF2

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

Color values

HEX#8C5BF2
RGBrgb(140, 91, 242)
HSLhsl(259, 85%, 65%)
HSVhsv(259, 62%, 95%)
CMYKcmyk(42.1%, 62.4%, 0%, 5.1%)
CIE-LABlab(51.23, 52.82, -69.06)
CIE-LCHlch(51.23, 86.94, 307.41°)
OKLaboklab(60.23% 0.0872 -0.1971)
OKLCHoklch(60.23% 0.216 293.9)
XYZxyz(30.5790, 19.4676, 86.1337)
Luminance0.1947 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5BF2 #C1F25B
analogous
#5B75F2 #8C5BF2 #D75BF2
triadic
#8C5BF2 #F28C5B #5BF28C
tetradic
#8C5BF2 #F25B75 #C1F25B #5BF2D7
square
#8C5BF2 #F25B75 #C1F25B #5BF2D7
split-complementary
#8C5BF2 #F2D75B #75F25B
monochromatic
#4A0FC3 #6422EE #8C5BF2 #B494F6 #DCCCFB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C5BF2#FFFFFF#000000##000000
##8C5BF21.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)
#007CF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#707E9E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #8c5bf2;
/* rgb */ color: rgb(140, 91, 242);
/* oklch */ color: oklch(60.2% 0.216 293.9);
Tailwind
colors: {
  custom: {
    50: '#b48cf7',
    500: '#8c5bf2',
    950: '#000000',
  },
}
SCSS
$custom: #8c5bf2;
$custom-light: #b48cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5bf2",
  "rgb": {
    "r": 140,
    "g": 91,
    "b": 242
  },
  "hsl": {
    "h": 259.47,
    "s": 85.311,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60226,
    "c": 0.21555,
    "h": 293.9
  },
  "luminance": 0.19468
}

Semantic roles & 50–950 ramp

primary
#8C5BF2
secondary
#DDEEBB
accent
#E2049A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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