#9F3DB7#9F3DB7

#9F3DB7 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.197 H 319.1°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9F3DB7
RGBrgb(159, 61, 183)
HSLhsl(288, 50%, 48%)
HSVhsv(288, 67%, 72%)
CMYKcmyk(13.1%, 66.7%, 0%, 28.2%)
CIE-LABlab(44.42, 57.85, -46.15)
CIE-LCHlch(44.42, 74.00, 321.42°)
OKLaboklab(54.59% 0.1492 -0.1291)
OKLCHoklch(54.59% 0.197 319.1)
XYZxyz(24.5129, 14.1284, 46.2264)
Luminance0.1413 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3DB7 #55B73D
analogous
#623DB7 #9F3DB7 #B73D92
triadic
#9F3DB7 #B79F3D #3DB79F
tetradic
#9F3DB7 #B7623D #55B73D #3D92B7
square
#9F3DB7 #B7623D #55B73D #3D92B7
split-complementary
#9F3DB7 #92B73D #3DB762
monochromatic
#4F1E5B #772E89 #9F3DB7 #B865CC #CD93DB

Accessibility & contrast

On white

5.49
#9F3DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#9F3DB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3DB7
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3DB7#FFFFFF#000000##FFFFFF
##9F3DB71.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F62BB
Deuteranopia (green-blind)
#456CB4
Tritanopia (blue-blind)
#9F5375
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f3db7;
/* rgb */ color: rgb(159, 61, 183);
/* oklch */ color: oklch(54.6% 0.197 319.1);
Tailwind
colors: {
  custom: {
    50: '#bf7acd',
    500: '#9f3db7',
    950: '#000000',
  },
}
SCSS
$custom: #9f3db7;
$custom-light: #bf7acd;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3db7",
  "rgb": {
    "r": 159,
    "g": 61,
    "b": 183
  },
  "hsl": {
    "h": 288.197,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.19736,
    "h": 319.1
  },
  "luminance": 0.14127
}

Semantic roles & 50–950 ramp

primary
#9F3DB7
secondary
#95C689
accent
#DA4E6A
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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