#9F61DC#9F61DC

#9F61DC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.6% C 0.184 H 304.8°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9F61DC
RGBrgb(159, 97, 220)
HSLhsl(270, 64%, 62%)
HSVhsv(270, 56%, 86%)
CMYKcmyk(27.7%, 55.9%, 0%, 13.7%)
CIE-LABlab(53.05, 48.36, -53.66)
CIE-LCHlch(53.05, 72.24, 312.03°)
OKLaboklab(61.57% 0.1053 -0.1513)
OKLCHoklch(61.57% 0.184 304.8)
XYZxyz(31.4882, 21.0878, 70.1078)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F61DC #9EDC61
analogous
#6261DC #9F61DC #DC61DC
triadic
#9F61DC #DC9F61 #61DC9F
tetradic
#9F61DC #DC6261 #9EDC61 #61DCDC
square
#9F61DC #DC6261 #9EDC61 #61DCDC
split-complementary
#9F61DC #DCDC61 #61DC62
monochromatic
#62239F #812FD1 #9F61DC #BD93E7 #DCC5F2

Accessibility & contrast

On white

4.02
#9F61DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#9F61DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F61DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F61DC#FFFFFF#000000##000000
##9F61DC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#327DE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#947995
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #9f61dc;
/* rgb */ color: rgb(159, 97, 220);
/* oklch */ color: oklch(61.6% 0.184 304.8);
Tailwind
colors: {
  custom: {
    50: '#bf90e7',
    500: '#9f61dc',
    950: '#000000',
  },
}
SCSS
$custom: #9f61dc;
$custom-light: #bf90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f61dc",
  "rgb": {
    "r": 159,
    "g": 97,
    "b": 220
  },
  "hsl": {
    "h": 270.244,
    "s": 63.731,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.18437,
    "h": 304.8
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#9F61DC
secondary
#CCE3B6
accent
#CC1A72
background
#FCF9FE
surface
#F8F1FC
border
#D1CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9F61DC

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

Preview Lab → · Contrast checker → · Palette generator →

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