#8C5BED#8C5BED

#8C5BED is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 59.9% C 0.210 H 294.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8C5BED
RGBrgb(140, 91, 237)
HSLhsl(260, 80%, 64%)
HSVhsv(260, 62%, 93%)
CMYKcmyk(40.9%, 61.6%, 0%, 7.1%)
CIE-LABlab(50.89, 51.51, -66.81)
CIE-LCHlch(50.89, 84.36, 307.63°)
OKLaboklab(59.87% 0.0876 -0.1905)
OKLCHoklch(59.87% 0.21 294.7)
XYZxyz(29.8383, 19.1713, 82.2327)
Luminance0.1917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C5BED #BCED5B
analogous
#5B73ED #8C5BED #D55BED
triadic
#8C5BED #ED8C5B #5BED8C
tetradic
#8C5BED #ED5B73 #BCED5B #5BEDD5
square
#8C5BED #ED5B73 #BCED5B #5BEDD5
split-complementary
#8C5BED #EDD55B #73ED5B
monochromatic
#4C14B9 #6524E7 #8C5BED #B392F3 #D9C9F9

Accessibility & contrast

On white

4.34
#8C5BED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#8C5BED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C5BED
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C5BED#FFFFFF#000000##000000
##8C5BED1.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0077EA
Tritanopia (blue-blind)
#727C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c5bed;
/* rgb */ color: rgb(140, 91, 237);
/* oklch */ color: oklch(59.9% 0.210 294.7);
Tailwind
colors: {
  custom: {
    50: '#b48cf4',
    500: '#8c5bed',
    950: '#000000',
  },
}
SCSS
$custom: #8c5bed;
$custom-light: #b48cf4;
$custom-dark: #000000;
JSON
{
  "hex": "#8c5bed",
  "rgb": {
    "r": 140,
    "g": 91,
    "b": 237
  },
  "hsl": {
    "h": 260.137,
    "s": 80.22,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59869,
    "c": 0.20969,
    "h": 294.7
  },
  "luminance": 0.19172
}

Semantic roles & 50–950 ramp

primary
#8C5BED
secondary
#DAEBB9
accent
#DD0996
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C5BED

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

Preview Lab → · Contrast checker → · Palette generator →

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