#9F3BCD#9F3BCD

#9F3BCD is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.8% C 0.220 H 312.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9F3BCD
RGBrgb(159, 59, 205)
HSLhsl(281, 59%, 52%)
HSVhsv(281, 71%, 80%)
CMYKcmyk(22.4%, 71.2%, 0%, 19.6%)
CIE-LABlab(45.51, 63.08, -57.20)
CIE-LCHlch(45.51, 85.15, 317.80°)
OKLaboklab(55.82% 0.1497 -0.1615)
OKLCHoklch(55.82% 0.22 312.8)
XYZxyz(26.8795, 14.9074, 59.2072)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3BCD #69CD3B
analogous
#563BCD #9F3BCD #CD3BB2
triadic
#9F3BCD #CD9F3B #3BCD9F
tetradic
#9F3BCD #CD563B #69CD3B #3BB2CD
square
#9F3BCD #CD563B #69CD3B #3BB2CD
split-complementary
#9F3BCD #B2CD3B #3BCD56
monochromatic
#561D71 #7C29A2 #9F3BCD #B76CD9 #CF9DE6

Accessibility & contrast

On white

5.27
#9F3BCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9F3BCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3BCD
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3BCD#FFFFFF#000000##FFFFFF
##9F3BCD1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D1
Deuteranopia (green-blind)
#2D6ECA
Tritanopia (blue-blind)
#9A5B80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9f3bcd;
/* rgb */ color: rgb(159, 59, 205);
/* oklch */ color: oklch(55.8% 0.220 312.8);
Tailwind
colors: {
  custom: {
    50: '#c07add',
    500: '#9f3bcd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3bcd;
$custom-light: #c07add;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3bcd",
  "rgb": {
    "r": 159,
    "g": 59,
    "b": 205
  },
  "hsl": {
    "h": 281.096,
    "s": 59.35,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55815,
    "c": 0.22022,
    "h": 312.8
  },
  "luminance": 0.14907
}

Semantic roles & 50–950 ramp

primary
#9F3BCD
secondary
#A6D292
accent
#E34577
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9F3BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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