#9A60B8#9A60B8

#9A60B8 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 58.8% C 0.143 H 313.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9A60B8
RGBrgb(154, 96, 184)
HSLhsl(280, 38%, 55%)
HSVhsv(280, 48%, 72%)
CMYKcmyk(16.3%, 47.8%, 0%, 27.8%)
CIE-LABlab(50.33, 39.33, -37.39)
CIE-LCHlch(50.33, 54.27, 316.44°)
OKLaboklab(58.8% 0.0975 -0.104)
OKLCHoklch(58.8% 0.143 313.1)
XYZxyz(26.1596, 18.6971, 47.5690)
Luminance0.1870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A60B8 #7EB860
analogous
#6E60B8 #9A60B8 #B860AA
triadic
#9A60B8 #B89A60 #60B89A
tetradic
#9A60B8 #B86E60 #7EB860 #60AAB8
square
#9A60B8 #B86E60 #7EB860 #60AAB8
split-complementary
#9A60B8 #AAB860 #60B86E
monochromatic
#58316D #7B4497 #9A60B8 #B58ACB #D0B5DE

Accessibility & contrast

On white

4.43
#9A60B8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9A60B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A60B8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A60B8#FFFFFF#000000##000000
##9A60B81.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#5D79B6
Tritanopia (blue-blind)
#976D83
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9a60b8;
/* rgb */ color: rgb(154, 96, 184);
/* oklch */ color: oklch(58.8% 0.143 313.1);
Tailwind
colors: {
  custom: {
    50: '#b98fcd',
    500: '#9a60b8',
    950: '#000000',
  },
}
SCSS
$custom: #9a60b8;
$custom-light: #b98fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a60b8",
  "rgb": {
    "r": 154,
    "g": 96,
    "b": 184
  },
  "hsl": {
    "h": 279.545,
    "s": 38.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58804,
    "c": 0.14256,
    "h": 313.1
  },
  "luminance": 0.18696
}

Semantic roles & 50–950 ramp

primary
#9A60B8
secondary
#B4CCA7
accent
#CE5A81
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#120C13
muted
#817D82

Preview Lab

Preview with #9A60B8

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

Preview Lab → · Contrast checker → · Palette generator →

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