#9F3FD3#9F3FD3

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

Color values

HEX#9F3FD3
RGBrgb(159, 63, 211)
HSLhsl(279, 63%, 54%)
HSVhsv(279, 70%, 83%)
CMYKcmyk(24.6%, 70.1%, 0%, 17.3%)
CIE-LABlab(46.48, 62.69, -59.07)
CIE-LCHlch(46.48, 86.14, 316.70°)
OKLaboklab(56.64% 0.145 -0.167)
OKLCHoklch(56.64% 0.221 311)
XYZxyz(27.8312, 15.6298, 63.1661)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FD3 #73D33F
analogous
#553FD3 #9F3FD3 #D33FBD
triadic
#9F3FD3 #D39F3F #3FD39F
tetradic
#9F3FD3 #D3553F #73D33F #3FBDD3
square
#9F3FD3 #D3553F #73D33F #3FBDD3
split-complementary
#9F3FD3 #BDD33F #3FD355
monochromatic
#5A1C7B #7E28AD #9F3FD3 #B871DE #D1A3EA

Accessibility & contrast

On white

5.09
#9F3FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9F3FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FD3
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FD3#FFFFFF#000000##FFFFFF
##9F3FD31.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD7
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#985F85
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9f3fd3;
/* rgb */ color: rgb(159, 63, 211);
/* oklch */ color: oklch(56.6% 0.221 311.0);
Tailwind
colors: {
  custom: {
    50: '#c07ce1',
    500: '#9f3fd3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fd3;
$custom-light: #c07ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fd3",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 211
  },
  "hsl": {
    "h": 278.919,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.22118,
    "h": 311
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#9F3FD3
secondary
#ADD797
accent
#E6427C
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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