#8B60B4#8B60B4

#8B60B4 is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.132 H 306.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8B60B4
RGBrgb(139, 96, 180)
HSLhsl(271, 36%, 54%)
HSVhsv(271, 47%, 71%)
CMYKcmyk(22.8%, 46.7%, 0%, 29.4%)
CIE-LABlab(48.45, 34.08, -38.15)
CIE-LCHlch(48.45, 51.16, 311.78°)
OKLaboklab(56.96% 0.0782 -0.1066)
OKLCHoklch(56.96% 0.132 306.3)
XYZxyz(23.0669, 17.1502, 45.2663)
Luminance0.1715 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B60B4 #89B460
analogous
#6160B4 #8B60B4 #B460B3
triadic
#8B60B4 #B48B60 #60B48B
tetradic
#8B60B4 #B46160 #89B460 #60B3B4
square
#8B60B4 #B46160 #89B460 #60B3B4
split-complementary
#8B60B4 #B3B460 #60B461
monochromatic
#4D3168 #6C4592 #8B60B4 #A98AC8 #C8B3DB

Accessibility & contrast

On white

4.74
#8B60B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8B60B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B60B4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B60B4#FFFFFF#000000##FFFFFF
##8B60B41.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A72B7
Deuteranopia (green-blind)
#5573B2
Tritanopia (blue-blind)
#856E81
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8b60b4;
/* rgb */ color: rgb(139, 96, 180);
/* oklch */ color: oklch(57.0% 0.132 306.3);
Tailwind
colors: {
  custom: {
    50: '#af8ecb',
    500: '#8b60b4',
    950: '#000000',
  },
}
SCSS
$custom: #8b60b4;
$custom-light: #af8ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b60b4",
  "rgb": {
    "r": 139,
    "g": 96,
    "b": 180
  },
  "hsl": {
    "h": 270.714,
    "s": 35.897,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56955,
    "c": 0.13218,
    "h": 306.3
  },
  "luminance": 0.1715
}

Semantic roles & 50–950 ramp

primary
#8B60B4
secondary
#B7CAA6
accent
#CC5C93
background
#FAF8FC
surface
#F5F0F8
border
#CFCBD1
text
#100C13
muted
#7F7D82

Preview Lab

Preview with #8B60B4

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

Preview Lab → · Contrast checker → · Palette generator →

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