#9A60DB#9A60DB

#9A60DB is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.183 H 303.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9A60DB
RGBrgb(154, 96, 219)
HSLhsl(268, 63%, 62%)
HSVhsv(268, 56%, 86%)
CMYKcmyk(29.7%, 56.2%, 0%, 14.1%)
CIE-LABlab(52.23, 47.44, -54.43)
CIE-LCHlch(52.23, 72.20, 311.07°)
OKLaboklab(60.82% 0.1002 -0.1537)
OKLCHoklch(60.82% 0.184 303.1)
XYZxyz(30.2926, 20.3503, 69.3362)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A60DB #A1DB60
analogous
#6064DB #9A60DB #D860DB
triadic
#9A60DB #DB9A60 #60DB9A
tetradic
#9A60DB #DB6064 #A1DB60 #60DBD8
square
#9A60DB #DB6064 #A1DB60 #60DBD8
split-complementary
#9A60DB #DBD860 #64DB60
monochromatic
#5D249D #7A2FCF #9A60DB #BA92E6 #D9C4F2

Accessibility & contrast

On white

4.14
#9A60DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#9A60DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A60DB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A60DB#FFFFFF#000000##000000
##9A60DB1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7BDF
Deuteranopia (green-blind)
#447CD8
Tritanopia (blue-blind)
#8E7894
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9a60db;
/* rgb */ color: rgb(154, 96, 219);
/* oklch */ color: oklch(60.8% 0.183 303.1);
Tailwind
colors: {
  custom: {
    50: '#bb8fe7',
    500: '#9a60db',
    950: '#000000',
  },
}
SCSS
$custom: #9a60db;
$custom-light: #bb8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9a60db",
  "rgb": {
    "r": 154,
    "g": 96,
    "b": 219
  },
  "hsl": {
    "h": 268.293,
    "s": 63.077,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60824,
    "c": 0.1835,
    "h": 303.1
  },
  "luminance": 0.2035
}

Semantic roles & 50–950 ramp

primary
#9A60DB
secondary
#CDE2B5
accent
#CB1B78
background
#FBF8FE
surface
#F7F0FC
border
#D0CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9A60DB

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

Preview Lab → · Contrast checker → · Palette generator →

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