#9A60DF#9A60DF

#9A60DF is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.188 H 302.2°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9A60DF
RGBrgb(154, 96, 223)
HSLhsl(267, 66%, 63%)
HSVhsv(267, 57%, 87%)
CMYKcmyk(30.9%, 57%, 0%, 12.5%)
CIE-LABlab(52.47, 48.40, -56.31)
CIE-LCHlch(52.47, 74.25, 310.68°)
OKLaboklab(61.08% 0.1003 -0.1592)
OKLCHoklch(61.08% 0.188 302.2)
XYZxyz(30.8255, 20.5634, 72.1429)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A60DF #A5DF60
analogous
#6065DF #9A60DF #DA60DF
triadic
#9A60DF #DF9A60 #60DF9A
tetradic
#9A60DF #DF6065 #A5DF60 #60DFDA
square
#9A60DF #DF6065 #A5DF60 #60DFDA
split-complementary
#9A60DF #DFDA60 #65DF60
monochromatic
#5D21A4 #7A2DD5 #9A60DF #BA93E9 #DBC6F4

Accessibility & contrast

On white

4.11
#9A60DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#9A60DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A60DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A60DF#FFFFFF#000000##000000
##9A60DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#287CE3
Deuteranopia (green-blind)
#407DDC
Tritanopia (blue-blind)
#8D7996
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a60df;
/* rgb */ color: rgb(154, 96, 223);
/* oklch */ color: oklch(61.1% 0.188 302.2);
Tailwind
colors: {
  custom: {
    50: '#bc8fea',
    500: '#9a60df',
    950: '#000000',
  },
}
SCSS
$custom: #9a60df;
$custom-light: #bc8fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9a60df",
  "rgb": {
    "r": 154,
    "g": 96,
    "b": 223
  },
  "hsl": {
    "h": 267.402,
    "s": 66.492,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61075,
    "c": 0.18818,
    "h": 302.2
  },
  "luminance": 0.20563
}

Semantic roles & 50–950 ramp

primary
#9A60DF
secondary
#CFE4B6
accent
#CE177B
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9A60DF

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

Preview Lab → · Contrast checker → · Palette generator →

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