#8B60A2#8B60A2

#8B60A2 is a mid, moderate violet. Relative luminance 0.165; OKLCH L 56.0% C 0.110 H 313.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8B60A2
RGBrgb(139, 96, 162)
HSLhsl(279, 26%, 51%)
HSVhsv(279, 41%, 64%)
CMYKcmyk(14.2%, 40.7%, 0%, 36.5%)
CIE-LABlab(47.58, 29.91, -28.97)
CIE-LCHlch(47.58, 41.64, 315.91°)
OKLaboklab(56.02% 0.075 -0.08)
OKLCHoklch(56.02% 0.11 313.1)
XYZxyz(21.3508, 16.4638, 36.2285)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B60A2 #77A260
analogous
#6A60A2 #8B60A2 #A26098
triadic
#8B60A2 #A28B60 #60A28B
tetradic
#8B60A2 #A26A60 #77A260 #6098A2
square
#8B60A2 #A26A60 #77A260 #6098A2
split-complementary
#8B60A2 #98A260 #60A26A
monochromatic
#493256 #6A497C #8B60A2 #A787B9 #C3ADCF

Accessibility & contrast

On white

4.89
#8B60A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8B60A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B60A2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B60A2#FFFFFF#000000##FFFFFF
##8B60A21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546EA4
Deuteranopia (green-blind)
#5E72A0
Tritanopia (blue-blind)
#896979
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b60a2;
/* rgb */ color: rgb(139, 96, 162);
/* oklch */ color: oklch(56.0% 0.110 313.1);
Tailwind
colors: {
  custom: {
    50: '#ae8ebe',
    500: '#8b60a2',
    950: '#000000',
  },
}
SCSS
$custom: #8b60a2;
$custom-light: #ae8ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#8b60a2",
  "rgb": {
    "r": 139,
    "g": 96,
    "b": 162
  },
  "hsl": {
    "h": 279.091,
    "s": 26.19,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56016,
    "c": 0.1097,
    "h": 313.1
  },
  "luminance": 0.16463
}

Semantic roles & 50–950 ramp

primary
#8B60A2
secondary
#AABEA0
accent
#C36586
background
#FAF8FB
surface
#F4F0F6
border
#CECBD0
text
#100C12
muted
#7F7D81

Preview Lab

Preview with #8B60A2

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

Preview Lab → · Contrast checker → · Palette generator →

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