#8B5FCE#8B5FCE

#8B5FCE is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.3% C 0.166 H 299.5°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B5FCE
RGBrgb(139, 95, 206)
HSLhsl(264, 53%, 59%)
HSVhsv(264, 54%, 81%)
CMYKcmyk(32.5%, 53.9%, 0%, 19.2%)
CIE-LABlab(49.65, 41.08, -51.24)
CIE-LCHlch(49.65, 65.68, 308.72°)
OKLaboklab(58.31% 0.082 -0.1448)
OKLCHoklch(58.31% 0.166 299.5)
XYZxyz(25.8776, 18.1294, 60.5165)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FCE #A2CE5F
analogous
#5F6BCE #8B5FCE #C35FCE
triadic
#8B5FCE #CE8B5F #5FCE8B
tetradic
#8B5FCE #CE5F6B #A2CE5F #5FCEC3
square
#8B5FCE #CE5F6B #A2CE5F #5FCEC3
split-complementary
#8B5FCE #CEC35F #6BCE5F
monochromatic
#4F2A89 #6B38B8 #8B5FCE #AD8EDC #CFBDEB

Accessibility & contrast

On white

4.54
#8B5FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8B5FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FCE
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FCE#FFFFFF#000000##000000
##8B5FCE1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3376D2
Deuteranopia (green-blind)
#4175CB
Tritanopia (blue-blind)
#7D758D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5fce;
/* rgb */ color: rgb(139, 95, 206);
/* oklch */ color: oklch(58.3% 0.166 299.5);
Tailwind
colors: {
  custom: {
    50: '#b08edd',
    500: '#8b5fce',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fce;
$custom-light: #b08edd;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fce",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 263.784,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.58313,
    "c": 0.16641,
    "h": 299.5
  },
  "luminance": 0.1813
}

Semantic roles & 50–950 ramp

primary
#8B5FCE
secondary
#C9DAAF
accent
#DD4BA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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