#9F3DD6#9F3DD6

#9F3DD6 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.6% C 0.226 H 310.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD6
RGBrgb(159, 61, 214)
HSLhsl(278, 65%, 54%)
HSVhsv(278, 71%, 84%)
CMYKcmyk(25.7%, 71.5%, 0%, 16.1%)
CIE-LABlab(46.40, 64.14, -60.93)
CIE-LCHlch(46.40, 88.47, 316.47°)
OKLaboklab(56.64% 0.1466 -0.1725)
OKLCHoklch(56.64% 0.226 310.4)
XYZxyz(28.1021, 15.5641, 65.1291)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD6 #74D63D
analogous
#533DD6 #9F3DD6 #D63DC1
triadic
#9F3DD6 #D69F3D #3DD69F
tetradic
#9F3DD6 #D6533D #74D63D #3DC1D6
square
#9F3DD6 #D6533D #74D63D #3DC1D6
split-complementary
#9F3DD6 #C1D63D #3DD653
monochromatic
#5A1B7E #7E25B1 #9F3DD6 #B870E1 #D1A2EB

Accessibility & contrast

On white

5.11
#9F3DD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9F3DD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD6
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD6#FFFFFF#000000##FFFFFF
##9F3DD61.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADA
Deuteranopia (green-blind)
#206FD3
Tritanopia (blue-blind)
#975F86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f3dd6;
/* rgb */ color: rgb(159, 61, 214);
/* oklch */ color: oklch(56.6% 0.226 310.4);
Tailwind
colors: {
  custom: {
    50: '#c07be3',
    500: '#9f3dd6',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd6;
$custom-light: #c07be3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd6",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 214
  },
  "hsl": {
    "h": 278.431,
    "s": 65.106,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5664,
    "c": 0.22635,
    "h": 310.4
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#9F3DD6
secondary
#AED897
accent
#E8407C
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #9F3DD6

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

Preview Lab → · Contrast checker → · Palette generator →

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