#9D60CC#9D60CC

#9D60CC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.2% C 0.167 H 308.3°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9D60CC
RGBrgb(157, 96, 204)
HSLhsl(274, 51%, 59%)
HSVhsv(274, 53%, 80%)
CMYKcmyk(23%, 52.9%, 0%, 20%)
CIE-LABlab(51.72, 44.66, -46.69)
CIE-LCHlch(51.72, 64.61, 313.73°)
OKLaboklab(60.25% 0.1033 -0.131)
OKLCHoklch(60.25% 0.167 308.3)
XYZxyz(28.9844, 19.8939, 59.4280)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60CC #8FCC60
analogous
#6760CC #9D60CC #CC60C5
triadic
#9D60CC #CC9D60 #60CC9D
tetradic
#9D60CC #CC6760 #8FCC60 #60C5CC
square
#9D60CC #CC6760 #8FCC60 #60C5CC
split-complementary
#9D60CC #C5CC60 #60CC67
monochromatic
#5F2B86 #7F3AB5 #9D60CC #BA8EDB #D6BDEA

Accessibility & contrast

On white

4.22
#9D60CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#9D60CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60CC#FFFFFF#000000##000000
##9D60CC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#537CC9
Tritanopia (blue-blind)
#96738D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d60cc;
/* rgb */ color: rgb(157, 96, 204);
/* oklch */ color: oklch(60.2% 0.167 308.3);
Tailwind
colors: {
  custom: {
    50: '#bc8fdc',
    500: '#9d60cc',
    950: '#000000',
  },
}
SCSS
$custom: #9d60cc;
$custom-light: #bc8fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60cc",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 204
  },
  "hsl": {
    "h": 273.889,
    "s": 51.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60247,
    "c": 0.16685,
    "h": 308.3
  },
  "luminance": 0.19893
}

Semantic roles & 50–950 ramp

primary
#9D60CC
secondary
#C1D9AF
accent
#DB4D8B
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D60CC

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

Preview Lab → · Contrast checker → · Palette generator →

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