#9F3DD5#9F3DD5

#9F3DD5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.6% C 0.225 H 310.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD5
RGBrgb(159, 61, 213)
HSLhsl(279, 64%, 54%)
HSVhsv(279, 71%, 84%)
CMYKcmyk(25.4%, 71.4%, 0%, 16.5%)
CIE-LABlab(46.33, 63.93, -60.47)
CIE-LCHlch(46.33, 88.00, 316.59°)
OKLaboklab(56.57% 0.1467 -0.1711)
OKLCHoklch(56.57% 0.225 310.6)
XYZxyz(27.9747, 15.5132, 64.4586)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD5 #73D53D
analogous
#533DD5 #9F3DD5 #D53DBF
triadic
#9F3DD5 #D59F3D #3DD59F
tetradic
#9F3DD5 #D5533D #73D53D #3DBFD5
square
#9F3DD5 #D5533D #73D53D #3DBFD5
split-complementary
#9F3DD5 #BFD53D #3DD553
monochromatic
#5A1B7D #7E26AF #9F3DD5 #B86FE0 #D1A2EB

Accessibility & contrast

On white

5.12
#9F3DD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9F3DD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD5
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD5#FFFFFF#000000##FFFFFF
##9F3DD51.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D9
Deuteranopia (green-blind)
#226FD2
Tritanopia (blue-blind)
#985F85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f3dd5;
/* rgb */ color: rgb(159, 61, 213);
/* oklch */ color: oklch(56.6% 0.225 310.6);
Tailwind
colors: {
  custom: {
    50: '#c07be3',
    500: '#9f3dd5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd5;
$custom-light: #c07be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd5",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 213
  },
  "hsl": {
    "h": 278.684,
    "s": 64.407,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5657,
    "c": 0.22541,
    "h": 310.6
  },
  "luminance": 0.15513
}

Semantic roles & 50–950 ramp

primary
#9F3DD5
secondary
#ADD796
accent
#E7407C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A15
muted
#827C84

Preview Lab

Preview with #9F3DD5

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

Preview Lab → · Contrast checker → · Palette generator →

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