#9D60CA#9D60CA

#9D60CA is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.1% C 0.165 H 308.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9D60CA
RGBrgb(157, 96, 202)
HSLhsl(275, 50%, 58%)
HSVhsv(275, 52%, 79%)
CMYKcmyk(22.3%, 52.5%, 0%, 20.8%)
CIE-LABlab(51.61, 44.21, -45.72)
CIE-LCHlch(51.61, 63.60, 314.03°)
OKLaboklab(60.13% 0.1032 -0.1281)
OKLCHoklch(60.13% 0.165 308.8)
XYZxyz(28.7461, 19.7985, 58.1728)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60CA #8DCA60
analogous
#6860CA #9D60CA #CA60C2
triadic
#9D60CA #CA9D60 #60CA9D
tetradic
#9D60CA #CA6860 #8DCA60 #60C2CA
square
#9D60CA #CA6860 #8DCA60 #60C2CA
split-complementary
#9D60CA #C2CA60 #60CA68
monochromatic
#5E2C84 #7F3BB2 #9D60CA #B98ED9 #D6BCE9

Accessibility & contrast

On white

4.23
#9D60CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#9D60CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60CA#FFFFFF#000000##000000
##9D60CA1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#557CC7
Tritanopia (blue-blind)
#97728C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #9d60ca;
/* rgb */ color: rgb(157, 96, 202);
/* oklch */ color: oklch(60.1% 0.165 308.8);
Tailwind
colors: {
  custom: {
    50: '#bc8fda',
    500: '#9d60ca',
    950: '#000000',
  },
}
SCSS
$custom: #9d60ca;
$custom-light: #bc8fda;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60ca",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 202
  },
  "hsl": {
    "h": 274.528,
    "s": 50,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60132,
    "c": 0.16453,
    "h": 308.8
  },
  "luminance": 0.19798
}

Semantic roles & 50–950 ramp

primary
#9D60CA
secondary
#C0D8AE
accent
#DA4E89
background
#FBF8FD
surface
#F7F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9D60CA

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

Preview Lab → · Contrast checker → · Palette generator →

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