#9F3BD3#9F3BD3

#9F3BD3 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.2% C 0.226 H 311.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9F3BD3
RGBrgb(159, 59, 211)
HSLhsl(279, 63%, 53%)
HSVhsv(279, 72%, 83%)
CMYKcmyk(24.6%, 72%, 0%, 17.3%)
CIE-LABlab(45.91, 64.32, -60.00)
CIE-LCHlch(45.91, 87.96, 316.99°)
OKLaboklab(56.23% 0.1489 -0.1697)
OKLCHoklch(56.23% 0.226 311.3)
XYZxyz(27.6177, 15.2027, 63.0949)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BD3 #6FD33B
analogous
#533BD3 #9F3BD3 #D33BBB
triadic
#9F3BD3 #D39F3B #3BD39F
tetradic
#9F3BD3 #D3533B #6FD33B #3BBBD3
square
#9F3BD3 #D3533B #6FD33B #3BBBD3
split-complementary
#9F3BD3 #BBD33B #3BD353
monochromatic
#591B79 #7D26AB #9F3BD3 #B76DDE #D09FE9

Accessibility & contrast

On white

5.20
#9F3BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9F3BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BD3
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BD3#FFFFFF#000000##FFFFFF
##9F3BD31.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#236ED0
Tritanopia (blue-blind)
#985D84
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f3bd3;
/* rgb */ color: rgb(159, 59, 211);
/* oklch */ color: oklch(56.2% 0.226 311.3);
Tailwind
colors: {
  custom: {
    50: '#c07ae1',
    500: '#9f3bd3',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bd3;
$custom-light: #c07ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bd3",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 211
  },
  "hsl": {
    "h": 279.474,
    "s": 63.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5623,
    "c": 0.2258,
    "h": 311.3
  },
  "luminance": 0.15202
}

Semantic roles & 50–950 ramp

primary
#9F3BD3
secondary
#ABD694
accent
#E6417A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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