#9F3ACD#9F3ACD

#9F3ACD is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.7% C 0.221 H 312.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9F3ACD
RGBrgb(159, 58, 205)
HSLhsl(281, 60%, 52%)
HSVhsv(281, 72%, 80%)
CMYKcmyk(22.4%, 71.7%, 0%, 19.6%)
CIE-LABlab(45.37, 63.48, -57.42)
CIE-LCHlch(45.37, 85.59, 317.87°)
OKLaboklab(55.72% 0.1507 -0.1622)
OKLCHoklch(55.72% 0.221 312.9)
XYZxyz(26.8286, 14.8056, 59.1903)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3ACD #68CD3A
analogous
#563ACD #9F3ACD #CD3AB2
triadic
#9F3ACD #CD9F3A #3ACD9F
tetradic
#9F3ACD #CD563A #68CD3A #3AB2CD
square
#9F3ACD #CD563A #68CD3A #3AB2CD
split-complementary
#9F3ACD #B2CD3A #3ACD56
monochromatic
#561C70 #7B29A1 #9F3ACD #B76BD9 #CF9CE6

Accessibility & contrast

On white

5.30
#9F3ACD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9F3ACD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3ACD
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3ACD#FFFFFF#000000##FFFFFF
##9F3ACD1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#2B6ECA
Tritanopia (blue-blind)
#9A5A80
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3acd;
/* rgb */ color: rgb(159, 58, 205);
/* oklch */ color: oklch(55.7% 0.221 312.9);
Tailwind
colors: {
  custom: {
    50: '#c079dd',
    500: '#9f3acd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3acd;
$custom-light: #c079dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3acd",
  "rgb": {
    "r": 159,
    "g": 58,
    "b": 205
  },
  "hsl": {
    "h": 281.224,
    "s": 59.514,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.22137,
    "h": 312.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#9F3ACD
secondary
#A5D291
accent
#E34576
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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