#8A60BD#8A60BD

#8A60BD is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.4% C 0.143 H 303.0°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#8A60BD
RGBrgb(138, 96, 189)
HSLhsl(267, 41%, 56%)
HSVhsv(267, 49%, 74%)
CMYKcmyk(27%, 49.2%, 0%, 25.9%)
CIE-LABlab(48.81, 35.99, -42.80)
CIE-LCHlch(48.81, 55.92, 310.06°)
OKLaboklab(57.36% 0.0781 -0.1201)
OKLCHoklch(57.36% 0.143 303)
XYZxyz(23.8474, 17.4432, 50.2448)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60BD #93BD60
analogous
#6064BD #8A60BD #B860BD
triadic
#8A60BD #BD8A60 #60BD8A
tetradic
#8A60BD #BD6064 #93BD60 #60BDB8
square
#8A60BD #BD6064 #93BD60 #60BDB8
split-complementary
#8A60BD #BDB860 #64BD60
monochromatic
#4E3073 #6B429E #8A60BD #AA8BCF #CAB6E1

Accessibility & contrast

On white

4.68
#8A60BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#8A60BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A60BD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60BD#FFFFFF#000000##FFFFFF
##8A60BD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#4F74BB
Tritanopia (blue-blind)
#817186
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8a60bd;
/* rgb */ color: rgb(138, 96, 189);
/* oklch */ color: oklch(57.4% 0.143 303.0);
Tailwind
colors: {
  custom: {
    50: '#ae8ed1',
    500: '#8a60bd',
    950: '#000000',
  },
}
SCSS
$custom: #8a60bd;
$custom-light: #ae8ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60bd",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 189
  },
  "hsl": {
    "h": 267.097,
    "s": 41.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57357,
    "c": 0.14329,
    "h": 303
  },
  "luminance": 0.17443
}

Semantic roles & 50–950 ramp

primary
#8A60BD
secondary
#BED0A9
accent
#D1579A
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110C14
muted
#807D82

Preview Lab

Preview with #8A60BD

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

Preview Lab → · Contrast checker → · Palette generator →

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