#9D60C8#9D60C8

#9D60C8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.0% C 0.162 H 309.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9D60C8
RGBrgb(157, 96, 200)
HSLhsl(275, 49%, 58%)
HSVhsv(275, 52%, 78%)
CMYKcmyk(21.5%, 52%, 0%, 21.6%)
CIE-LABlab(51.50, 43.75, -44.74)
CIE-LCHlch(51.50, 62.58, 314.36°)
OKLaboklab(60.02% 0.103 -0.1253)
OKLCHoklch(60.02% 0.162 309.4)
XYZxyz(28.5108, 19.7044, 56.9338)
Luminance0.1970 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60C8 #8BC860
analogous
#6960C8 #9D60C8 #C860BF
triadic
#9D60C8 #C89D60 #60C89D
tetradic
#9D60C8 #C86960 #8BC860 #60BFC8
square
#9D60C8 #C86960 #8BC860 #60BFC8
split-complementary
#9D60C8 #BFC860 #60C869
monochromatic
#5E2D81 #7F3CAE #9D60C8 #B98DD8 #D5BBE7

Accessibility & contrast

On white

4.25
#9D60C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#9D60C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60C8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60C8#FFFFFF#000000##000000
##9D60C81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4378CC
Deuteranopia (green-blind)
#567CC5
Tritanopia (blue-blind)
#97728B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d60c8;
/* rgb */ color: rgb(157, 96, 200);
/* oklch */ color: oklch(60.0% 0.162 309.4);
Tailwind
colors: {
  custom: {
    50: '#bc8fd9',
    500: '#9d60c8',
    950: '#000000',
  },
}
SCSS
$custom: #9d60c8;
$custom-light: #bc8fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60c8",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 200
  },
  "hsl": {
    "h": 275.192,
    "s": 48.598,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60017,
    "c": 0.16221,
    "h": 309.4
  },
  "luminance": 0.19704
}

Semantic roles & 50–950 ramp

primary
#9D60C8
secondary
#BED7AD
accent
#D85088
background
#FBF8FD
surface
#F7F0FA
border
#D0CBD3
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D60C8

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

Preview Lab → · Contrast checker → · Palette generator →

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