#9F3DD3#9F3DD3

#9F3DD3 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.224 H 311.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD3
RGBrgb(159, 61, 211)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 71%, 83%)
CMYKcmyk(24.6%, 71.1%, 0%, 17.3%)
CIE-LABlab(46.19, 63.51, -59.54)
CIE-LCHlch(46.19, 87.06, 316.85°)
OKLaboklab(56.43% 0.147 -0.1684)
OKLCHoklch(56.43% 0.224 311.1)
XYZxyz(27.7225, 15.4122, 63.1299)
Luminance0.1541 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD3 #71D33D
analogous
#543DD3 #9F3DD3 #D33DBC
triadic
#9F3DD3 #D39F3D #3DD39F
tetradic
#9F3DD3 #D3543D #71D33D #3DBCD3
square
#9F3DD3 #D3543D #71D33D #3DBCD3
split-complementary
#9F3DD3 #BCD33D #3DD354
monochromatic
#591C7A #7E27AC #9F3DD3 #B86FDE #D0A1EA

Accessibility & contrast

On white

5.14
#9F3DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9F3DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD3#FFFFFF#000000##FFFFFF
##9F3DD31.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#985E84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3dd3;
/* rgb */ color: rgb(159, 61, 211);
/* oklch */ color: oklch(56.4% 0.224 311.1);
Tailwind
colors: {
  custom: {
    50: '#c07be1',
    500: '#9f3dd3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd3;
$custom-light: #c07be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd3",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 211
  },
  "hsl": {
    "h": 279.2,
    "s": 63.025,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56431,
    "c": 0.22352,
    "h": 311.1
  },
  "luminance": 0.15412
}

Semantic roles & 50–950 ramp

primary
#9F3DD3
secondary
#ACD696
accent
#E6427B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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