#9F3DD4#9F3DD4

#9F3DD4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.224 H 310.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9F3DD4
RGBrgb(159, 61, 212)
HSLhsl(279, 64%, 54%)
HSVhsv(279, 71%, 83%)
CMYKcmyk(25%, 71.2%, 0%, 16.9%)
CIE-LABlab(46.26, 63.72, -60.01)
CIE-LCHlch(46.26, 87.53, 316.72°)
OKLaboklab(56.5% 0.1469 -0.1698)
OKLCHoklch(56.5% 0.224 310.9)
XYZxyz(27.8482, 15.4625, 63.7922)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DD4 #72D43D
analogous
#533DD4 #9F3DD4 #D43DBE
triadic
#9F3DD4 #D49F3D #3DD49F
tetradic
#9F3DD4 #D4533D #72D43D #3DBED4
square
#9F3DD4 #D4533D #72D43D #3DBED4
split-complementary
#9F3DD4 #BED43D #3DD453
monochromatic
#5A1B7B #7E26AD #9F3DD4 #B86FDF #D1A1EA

Accessibility & contrast

On white

5.13
#9F3DD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9F3DD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DD4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DD4#FFFFFF#000000##FFFFFF
##9F3DD41.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D8
Deuteranopia (green-blind)
#246FD1
Tritanopia (blue-blind)
#985F85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f3dd4;
/* rgb */ color: rgb(159, 61, 212);
/* oklch */ color: oklch(56.5% 0.224 310.9);
Tailwind
colors: {
  custom: {
    50: '#c07be2',
    500: '#9f3dd4',
    950: '#000000',
  },
}
SCSS
$custom: #9f3dd4;
$custom-light: #c07be2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3dd4",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 212
  },
  "hsl": {
    "h": 278.94,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56501,
    "c": 0.22447,
    "h": 310.9
  },
  "luminance": 0.15462
}

Semantic roles & 50–950 ramp

primary
#9F3DD4
secondary
#ADD796
accent
#E7417B
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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