#9E60DC#9E60DC

#9E60DC is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.186 H 304.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9E60DC
RGBrgb(158, 96, 220)
HSLhsl(270, 64%, 62%)
HSVhsv(270, 56%, 86%)
CMYKcmyk(28.2%, 56.4%, 0%, 13.7%)
CIE-LABlab(52.73, 48.65, -54.17)
CIE-LCHlch(52.73, 72.80, 311.93°)
OKLaboklab(61.31% 0.1053 -0.1528)
OKLCHoklch(61.31% 0.186 304.6)
XYZxyz(31.1989, 20.8023, 70.0679)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E60DC #9EDC60
analogous
#6060DC #9E60DC #DC60DC
triadic
#9E60DC #DC9E60 #60DC9E
tetradic
#9E60DC #DC6060 #9EDC60 #60DCDC
square
#9E60DC #DC6060 #9EDC60 #60DCDC
split-complementary
#9E60DC #DCDC60 #60DC60
monochromatic
#61239F #7F2ED1 #9E60DC #BD92E7 #DBC4F2

Accessibility & contrast

On white

4.07
#9E60DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#9E60DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E60DC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E60DC#FFFFFF#000000##000000
##9E60DC1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#937895
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e60dc;
/* rgb */ color: rgb(158, 96, 220);
/* oklch */ color: oklch(61.3% 0.186 304.6);
Tailwind
colors: {
  custom: {
    50: '#be8fe7',
    500: '#9e60dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e60dc;
$custom-light: #be8fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e60dc",
  "rgb": {
    "r": 158,
    "g": 96,
    "b": 220
  },
  "hsl": {
    "h": 270,
    "s": 63.918,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61311,
    "c": 0.1856,
    "h": 304.6
  },
  "luminance": 0.20802
}

Semantic roles & 50–950 ramp

primary
#9E60DC
secondary
#CCE3B5
accent
#CC1A73
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#120D16
muted
#817D84

Preview Lab

Preview with #9E60DC

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

Preview Lab → · Contrast checker → · Palette generator →

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