#8A60CA#8A60CA

#8A60CA is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.1% C 0.160 H 299.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8A60CA
RGBrgb(138, 96, 202)
HSLhsl(264, 50%, 58%)
HSVhsv(264, 52%, 79%)
CMYKcmyk(31.7%, 52.5%, 0%, 20.8%)
CIE-LABlab(49.54, 39.25, -49.14)
CIE-LCHlch(49.54, 62.89, 308.61°)
OKLaboklab(58.13% 0.0792 -0.1387)
OKLCHoklch(58.13% 0.16 299.7)
XYZxyz(25.3222, 18.0331, 58.0123)
Luminance0.1803 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A60CA #A0CA60
analogous
#606BCA #8A60CA #BF60CA
triadic
#8A60CA #CA8A60 #60CA8A
tetradic
#8A60CA #CA606B #A0CA60 #60CABF
square
#8A60CA #CA606B #A0CA60 #60CABF
split-complementary
#8A60CA #CABF60 #6BCA60
monochromatic
#4F2C84 #6A3BB2 #8A60CA #AC8ED9 #CEBCE9

Accessibility & contrast

On white

4.56
#8A60CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8A60CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A60CA
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A60CA#FFFFFF#000000##000000
##8A60CA1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3976CE
Deuteranopia (green-blind)
#4575C7
Tritanopia (blue-blind)
#7D748C
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8a60ca;
/* rgb */ color: rgb(138, 96, 202);
/* oklch */ color: oklch(58.1% 0.160 299.7);
Tailwind
colors: {
  custom: {
    50: '#af8edb',
    500: '#8a60ca',
    950: '#000000',
  },
}
SCSS
$custom: #8a60ca;
$custom-light: #af8edb;
$custom-dark: #000000;
JSON
{
  "hex": "#8a60ca",
  "rgb": {
    "r": 138,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 263.774,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.58128,
    "c": 0.15971,
    "h": 299.7
  },
  "luminance": 0.18033
}

Semantic roles & 50–950 ramp

primary
#8A60CA
secondary
#C7D8AE
accent
#DA4EA2
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8A60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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