#9A60EB#9A60EB

#9A60EB is a mid, highly saturated violet. Relative luminance 0.212; OKLCH L 61.8% C 0.202 H 299.7°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9A60EB
RGBrgb(154, 96, 235)
HSLhsl(265, 78%, 65%)
HSVhsv(265, 59%, 92%)
CMYKcmyk(34.5%, 59.1%, 0%, 7.8%)
CIE-LABlab(53.20, 51.35, -61.88)
CIE-LCHlch(53.20, 80.41, 309.69°)
OKLaboklab(61.85% 0.1002 -0.1756)
OKLCHoklch(61.85% 0.202 299.7)
XYZxyz(32.5010, 21.2336, 80.9674)
Luminance0.2123 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A60EB #B1EB60
analogous
#606BEB #9A60EB #E060EB
triadic
#9A60EB #EB9A60 #60EB9A
tetradic
#9A60EB #EB606B #B1EB60 #60EBE0
square
#9A60EB #EB606B #B1EB60 #60EBE0
split-complementary
#9A60EB #EBE060 #6BEB60
monochromatic
#5B17B9 #772AE4 #9A60EB #BD96F2 #DFCDF9

Accessibility & contrast

On white

4.00
#9A60EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9A60EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A60EB
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A60EB#FFFFFF#000000##000000
##9A60EB1.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#307EE8
Tritanopia (blue-blind)
#897D9D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9a60eb;
/* rgb */ color: rgb(154, 96, 235);
/* oklch */ color: oklch(61.8% 0.202 299.7);
Tailwind
colors: {
  custom: {
    50: '#bc90f2',
    500: '#9a60eb',
    950: '#000000',
  },
}
SCSS
$custom: #9a60eb;
$custom-light: #bc90f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9a60eb",
  "rgb": {
    "r": 154,
    "g": 96,
    "b": 235
  },
  "hsl": {
    "h": 265.036,
    "s": 77.654,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61849,
    "c": 0.20215,
    "h": 299.7
  },
  "luminance": 0.21234
}

Semantic roles & 50–950 ramp

primary
#9A60EB
secondary
#D7EBBC
accent
#DA0C84
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120D17
muted
#817D85

Preview Lab

Preview with #9A60EB

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

Preview Lab → · Contrast checker → · Palette generator →

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