#9E61DC#9E61DC

#9E61DC is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.184 H 304.4°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9E61DC
RGBrgb(158, 97, 220)
HSLhsl(270, 64%, 62%)
HSVhsv(270, 56%, 86%)
CMYKcmyk(28.2%, 55.9%, 0%, 13.7%)
CIE-LABlab(52.93, 48.12, -53.84)
CIE-LCHlch(52.93, 72.21, 311.79°)
OKLaboklab(61.46% 0.1041 -0.1519)
OKLCHoklch(61.46% 0.184 304.4)
XYZxyz(31.2907, 20.9859, 70.0985)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E61DC #9FDC61
analogous
#6162DC #9E61DC #DC61DC
triadic
#9E61DC #DC9E61 #61DC9E
tetradic
#9E61DC #DC6162 #9FDC61 #61DCDC
square
#9E61DC #DC6162 #9FDC61 #61DCDC
split-complementary
#9E61DC #DCDC61 #62DC61
monochromatic
#61239F #7F2FD1 #9E61DC #BD93E7 #DCC5F2

Accessibility & contrast

On white

4.04
#9E61DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#9E61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E61DC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E61DC#FFFFFF#000000##000000
##9E61DC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#317DE0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#937995
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9e61dc;
/* rgb */ color: rgb(158, 97, 220);
/* oklch */ color: oklch(61.5% 0.184 304.4);
Tailwind
colors: {
  custom: {
    50: '#be90e7',
    500: '#9e61dc',
    950: '#000000',
  },
}
SCSS
$custom: #9e61dc;
$custom-light: #be90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9e61dc",
  "rgb": {
    "r": 158,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 269.756,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61459,
    "c": 0.18411,
    "h": 304.4
  },
  "luminance": 0.20986
}

Semantic roles & 50–950 ramp

primary
#9E61DC
secondary
#CDE3B6
accent
#CC1A73
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9E61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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