#8B5CDC#8B5CDC

#8B5CDC is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.7% C 0.188 H 297.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B5CDC
RGBrgb(139, 92, 220)
HSLhsl(262, 65%, 61%)
HSVhsv(262, 58%, 86%)
CMYKcmyk(36.8%, 58.2%, 0%, 13.7%)
CIE-LABlab(49.87, 46.33, -58.87)
CIE-LCHlch(49.87, 74.92, 308.21°)
OKLaboklab(58.75% 0.0859 -0.1672)
OKLCHoklch(58.75% 0.188 297.2)
XYZxyz(27.3896, 18.3101, 69.7874)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5CDC #ADDC5C
analogous
#5C6DDC #8B5CDC #CB5CDC
triadic
#8B5CDC #DC8B5C #5CDC8B
tetradic
#8B5CDC #DC5C6D #ADDC5C #5CDCCB
square
#8B5CDC #DC5C6D #ADDC5C #5CDCCB
split-complementary
#8B5CDC #DCCB5C #6DDC5C
monochromatic
#4F229C #682CCE #8B5CDC #AF8EE7 #D3C1F2

Accessibility & contrast

On white

4.50
#8B5CDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8B5CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5CDC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5CDC#FFFFFF#000000##000000
##8B5CDC1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1077E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#787793
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5cdc;
/* rgb */ color: rgb(139, 92, 220);
/* oklch */ color: oklch(58.7% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#b28ce8',
    500: '#8b5cdc',
    950: '#000000',
  },
}
SCSS
$custom: #8b5cdc;
$custom-light: #b28ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5cdc",
  "rgb": {
    "r": 139,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 262.031,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58747,
    "c": 0.18796,
    "h": 297.2
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#8B5CDC
secondary
#D0E2B2
accent
#CC198B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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