#8B5CCF#8B5CCF

#8B5CCF is a mid, vivid violet. Relative luminance 0.176; OKLCH L 57.9% C 0.172 H 299.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8B5CCF
RGBrgb(139, 92, 207)
HSLhsl(265, 55%, 59%)
HSVhsv(265, 56%, 81%)
CMYKcmyk(32.9%, 55.6%, 0%, 18.8%)
CIE-LABlab(49.07, 43.01, -52.75)
CIE-LCHlch(49.07, 68.06, 309.19°)
OKLaboklab(57.9% 0.0858 -0.1492)
OKLCHoklch(57.9% 0.172 299.9)
XYZxyz(25.7344, 17.6481, 61.0700)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CCF #A0CF5C
analogous
#5C66CF #8B5CCF #C45CCF
triadic
#8B5CCF #CF8B5C #5CCF8B
tetradic
#8B5CCF #CF5C66 #A0CF5C #5CCFC4
square
#8B5CCF #CF5C66 #A0CF5C #5CCFC4
split-complementary
#8B5CCF #CFC45C #66CF5C
monochromatic
#502888 #6B36B8 #8B5CCF #AD8BDD #CEBBEB

Accessibility & contrast

On white

4.64
#8B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8B5CCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B5CCF
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CCF#FFFFFF#000000##FFFFFF
##8B5CCF1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B74D3
Deuteranopia (green-blind)
#3C74CC
Tritanopia (blue-blind)
#7D738D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b5ccf;
/* rgb */ color: rgb(139, 92, 207);
/* oklch */ color: oklch(57.9% 0.172 299.9);
Tailwind
colors: {
  custom: {
    50: '#b18cde',
    500: '#8b5ccf',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ccf;
$custom-light: #b18cde;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ccf",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 207
  },
  "hsl": {
    "h": 264.522,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.579,
    "c": 0.17215,
    "h": 299.9
  },
  "luminance": 0.17648
}

Semantic roles & 50–950 ramp

primary
#8B5CCF
secondary
#C8DAAD
accent
#DE4AA1
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5CCF

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

Preview Lab → · Contrast checker → · Palette generator →

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