#8A60CB#8A60CB

#8A60CB is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.2% C 0.161 H 299.5°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8A60CB
RGBrgb(138, 96, 203)
HSLhsl(264, 51%, 59%)
HSVhsv(264, 53%, 80%)
CMYKcmyk(32%, 52.7%, 0%, 20.4%)
CIE-LABlab(49.59, 39.50, -49.63)
CIE-LCHlch(49.59, 63.43, 308.52°)
OKLaboklab(58.19% 0.0793 -0.1401)
OKLCHoklch(58.19% 0.161 299.5)
XYZxyz(25.4410, 18.0806, 58.6379)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60CB #A1CB60
analogous
#606BCB #8A60CB #BF60CB
triadic
#8A60CB #CB8A60 #60CB8A
tetradic
#8A60CB #CB606B #A1CB60 #60CBBF
square
#8A60CB #CB606B #A1CB60 #60CBBF
split-complementary
#8A60CB #CBBF60 #6BCB60
monochromatic
#4F2C85 #6A3BB3 #8A60CB #AC8EDA #CEBCE9

Accessibility & contrast

On white

4.55
#8A60CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8A60CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60CB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60CB#FFFFFF#000000##000000
##8A60CB1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#4475C8
Tritanopia (blue-blind)
#7D758C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a60cb;
/* rgb */ color: rgb(138, 96, 203);
/* oklch */ color: oklch(58.2% 0.161 299.5);
Tailwind
colors: {
  custom: {
    50: '#af8edb',
    500: '#8a60cb',
    950: '#000000',
  },
}
SCSS
$custom: #8a60cb;
$custom-light: #af8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60cb",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 203
  },
  "hsl": {
    "h": 263.551,
    "s": 50.711,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58189,
    "c": 0.16097,
    "h": 299.5
  },
  "luminance": 0.18081
}

Semantic roles & 50–950 ramp

primary
#8A60CB
secondary
#C8D9AE
accent
#DA4EA3
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60CB

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

Preview Lab → · Contrast checker → · Palette generator →

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