#8B60B2#8B60B2

#8B60B2 is a mid, vivid violet. Relative luminance 0.171; OKLCH L 56.8% C 0.130 H 306.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8B60B2
RGBrgb(139, 96, 178)
HSLhsl(271, 35%, 54%)
HSVhsv(271, 46%, 70%)
CMYKcmyk(21.9%, 46.1%, 0%, 30.2%)
CIE-LABlab(48.35, 33.61, -37.14)
CIE-LCHlch(48.35, 50.09, 312.14°)
OKLaboklab(56.85% 0.0779 -0.1036)
OKLCHoklch(56.85% 0.13 306.9)
XYZxyz(22.8646, 17.0693, 44.2010)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B60B2 #87B260
analogous
#6260B2 #8B60B2 #B260B0
triadic
#8B60B2 #B28B60 #60B28B
tetradic
#8B60B2 #B26260 #87B260 #60B0B2
square
#8B60B2 #B26260 #87B260 #60B0B2
split-complementary
#8B60B2 #B0B260 #60B262
monochromatic
#4D3166 #6C458F #8B60B2 #A989C6 #C7B2DA

Accessibility & contrast

On white

4.76
#8B60B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#8B60B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B60B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B60B2#FFFFFF#000000##FFFFFF
##8B60B21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B71B5
Deuteranopia (green-blind)
#5673B0
Tritanopia (blue-blind)
#856D80
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b60b2;
/* rgb */ color: rgb(139, 96, 178);
/* oklch */ color: oklch(56.8% 0.130 306.9);
Tailwind
colors: {
  custom: {
    50: '#af8ec9',
    500: '#8b60b2',
    950: '#000000',
  },
}
SCSS
$custom: #8b60b2;
$custom-light: #af8ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b60b2",
  "rgb": {
    "r": 139,
    "g": 96,
    "b": 178
  },
  "hsl": {
    "h": 271.463,
    "s": 34.746,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56846,
    "c": 0.12966,
    "h": 306.9
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#8B60B2
secondary
#B6C8A5
accent
#CB5D91
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8B60B2

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

Preview Lab → · Contrast checker → · Palette generator →

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