#8B5CD7#8B5CD7

#8B5CD7 is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.4% C 0.182 H 298.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8B5CD7
RGBrgb(139, 92, 215)
HSLhsl(263, 61%, 60%)
HSVhsv(263, 57%, 84%)
CMYKcmyk(35.3%, 57.2%, 0%, 15.7%)
CIE-LABlab(49.56, 45.05, -56.53)
CIE-LCHlch(49.56, 72.29, 308.55°)
OKLaboklab(58.42% 0.0859 -0.1603)
OKLCHoklch(58.42% 0.182 298.2)
XYZxyz(26.7373, 18.0492, 66.3520)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CD7 #A8D75C
analogous
#5C6AD7 #8B5CD7 #C95CD7
triadic
#8B5CD7 #D78B5C #5CD78B
tetradic
#8B5CD7 #D75C6A #A8D75C #5CD7C9
square
#8B5CD7 #D75C6A #A8D75C #5CD7C9
split-complementary
#8B5CD7 #D7C95C #6AD75C
monochromatic
#4F2494 #6930C5 #8B5CD7 #AE8DE3 #D1BEEF

Accessibility & contrast

On white

4.56
#8B5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8B5CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CD7
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CD7#FFFFFF#000000##000000
##8B5CD71.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E76DB
Deuteranopia (green-blind)
#3275D4
Tritanopia (blue-blind)
#7A7691
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5cd7;
/* rgb */ color: rgb(139, 92, 215);
/* oklch */ color: oklch(58.4% 0.182 298.2);
Tailwind
colors: {
  custom: {
    50: '#b18ce4',
    500: '#8b5cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cd7;
$custom-light: #b18ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cd7",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 262.927,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58416,
    "c": 0.18191,
    "h": 298.2
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#8B5CD7
secondary
#CDDFB0
accent
#C81D87
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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