#9D60E6#9D60E6

#9D60E6 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.8% C 0.197 H 301.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9D60E6
RGBrgb(157, 96, 230)
HSLhsl(267, 73%, 64%)
HSVhsv(267, 58%, 90%)
CMYKcmyk(31.7%, 58.3%, 0%, 9.8%)
CIE-LABlab(53.22, 50.80, -59.03)
CIE-LCHlch(53.22, 77.88, 310.72°)
OKLaboklab(61.83% 0.1041 -0.1671)
OKLCHoklch(61.83% 0.197 301.9)
XYZxyz(32.3671, 21.2469, 77.2434)
Luminance0.2125 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60E6 #A9E660
analogous
#6066E6 #9D60E6 #E060E6
triadic
#9D60E6 #E69D60 #60E69D
tetradic
#9D60E6 #E66066 #A9E660 #60E6E0
square
#9D60E6 #E66066 #A9E660 #60E6E0
split-complementary
#9D60E6 #E6E060 #66E660
monochromatic
#5F1CB0 #7C2BDE #9D60E6 #BE95EE #DECAF7

Accessibility & contrast

On white

4.00
#9D60E6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#9D60E6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60E6
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60E6#FFFFFF#000000##000000
##9D60E61.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7EEA
Deuteranopia (green-blind)
#3B7FE3
Tritanopia (blue-blind)
#8F7B9A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d60e6;
/* rgb */ color: rgb(157, 96, 230);
/* oklch */ color: oklch(61.8% 0.197 301.9);
Tailwind
colors: {
  custom: {
    50: '#be90ef',
    500: '#9d60e6',
    950: '#000000',
  },
}
SCSS
$custom: #9d60e6;
$custom-light: #be90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60e6",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 230
  },
  "hsl": {
    "h": 267.313,
    "s": 72.826,
    "l": 63.922
  },
  "oklch": {
    "l": 0.61834,
    "c": 0.1969,
    "h": 301.9
  },
  "luminance": 0.21247
}

Semantic roles & 50–950 ramp

primary
#9D60E6
secondary
#D3E8B9
accent
#D5117C
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D16
muted
#827E84

Preview Lab

Preview with #9D60E6

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

Preview Lab → · Contrast checker → · Palette generator →

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