#9D60E8#9D60E8

#9D60E8 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.199 H 301.5°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9D60E8
RGBrgb(157, 96, 232)
HSLhsl(267, 75%, 64%)
HSVhsv(267, 59%, 91%)
CMYKcmyk(32.3%, 58.6%, 0%, 9%)
CIE-LABlab(53.34, 51.29, -59.96)
CIE-LCHlch(53.34, 78.90, 310.54°)
OKLaboklab(61.96% 0.1041 -0.1698)
OKLCHoklch(61.96% 0.199 301.5)
XYZxyz(32.6496, 21.3599, 78.7311)
Luminance0.2136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D60E8 #ABE860
analogous
#6067E8 #9D60E8 #E160E8
triadic
#9D60E8 #E89D60 #60E89D
tetradic
#9D60E8 #E86067 #ABE860 #60E8E1
square
#9D60E8 #E86067 #ABE860 #60E8E1
split-complementary
#9D60E8 #E8E160 #67E860
monochromatic
#5F1AB4 #7C2BE0 #9D60E8 #BE95F0 #DFCBF7

Accessibility & contrast

On white

3.98
#9D60E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#9D60E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D60E8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D60E8#FFFFFF#000000##000000
##9D60E81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#187FEC
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#8E7C9B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9d60e8;
/* rgb */ color: rgb(157, 96, 232);
/* oklch */ color: oklch(62.0% 0.199 301.5);
Tailwind
colors: {
  custom: {
    50: '#be90f0',
    500: '#9d60e8',
    950: '#000000',
  },
}
SCSS
$custom: #9d60e8;
$custom-light: #be90f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d60e8",
  "rgb": {
    "r": 157,
    "g": 96,
    "b": 232
  },
  "hsl": {
    "h": 266.912,
    "s": 74.725,
    "l": 64.314
  },
  "oklch": {
    "l": 0.61963,
    "c": 0.1992,
    "h": 301.5
  },
  "luminance": 0.2136
}

Semantic roles & 50–950 ramp

primary
#9D60E8
secondary
#D4E9BA
accent
#D70F7D
background
#FCF9FE
surface
#F8F1FD
border
#D1CBD5
text
#130D17
muted
#827E85

Preview Lab

Preview with #9D60E8

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

Preview Lab → · Contrast checker → · Palette generator →

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