#9A60EC#9A60EC

#9A60EC is a mid, highly saturated violet. Relative luminance 0.213; OKLCH L 61.9% C 0.203 H 299.5°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#9A60EC
RGBrgb(154, 96, 236)
HSLhsl(265, 79%, 65%)
HSVhsv(265, 59%, 93%)
CMYKcmyk(34.7%, 59.3%, 0%, 7.5%)
CIE-LABlab(53.27, 51.59, -62.34)
CIE-LCHlch(53.27, 80.92, 309.61°)
OKLaboklab(61.92% 0.1002 -0.1769)
OKLCHoklch(61.92% 0.203 299.5)
XYZxyz(32.6459, 21.2916, 81.7304)
Luminance0.2129 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A60EC #B2EC60
analogous
#606CEC #9A60EC #E060EC
triadic
#9A60EC #EC9A60 #60EC9A
tetradic
#9A60EC #EC606C #B2EC60 #60ECE0
square
#9A60EC #EC606C #B2EC60 #60ECE0
split-complementary
#9A60EC #ECE060 #6CEC60
monochromatic
#5B16BB #7729E5 #9A60EC #BD97F3 #DFCDF9

Accessibility & contrast

On white

3.99
#9A60EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#9A60EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A60EC
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A60EC#FFFFFF#000000##000000
##9A60EC1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#027FF1
Deuteranopia (green-blind)
#2F7EE9
Tritanopia (blue-blind)
#887E9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a60ec;
/* rgb */ color: rgb(154, 96, 236);
/* oklch */ color: oklch(61.9% 0.203 299.5);
Tailwind
colors: {
  custom: {
    50: '#bc90f3',
    500: '#9a60ec',
    950: '#000000',
  },
}
SCSS
$custom: #9a60ec;
$custom-light: #bc90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a60ec",
  "rgb": {
    "r": 154,
    "g": 96,
    "b": 236
  },
  "hsl": {
    "h": 264.857,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.2033,
    "h": 299.5
  },
  "luminance": 0.21292
}

Semantic roles & 50–950 ramp

primary
#9A60EC
secondary
#D8ECBC
accent
#DB0B85
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9A60EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A60EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva