#9F39B5#9F39B5

#9F39B5 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.0% C 0.201 H 320.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9F39B5
RGBrgb(159, 57, 181)
HSLhsl(289, 52%, 47%)
HSVhsv(289, 69%, 71%)
CMYKcmyk(12.2%, 68.5%, 0%, 29%)
CIE-LABlab(43.70, 59.12, -46.11)
CIE-LCHlch(43.70, 74.98, 322.05°)
OKLaboklab(54.04% 0.1537 -0.129)
OKLCHoklch(54.04% 0.201 320)
XYZxyz(24.1007, 13.6346, 45.0694)
Luminance0.1363 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F39B5 #4FB539
analogous
#6139B5 #9F39B5 #B5398D
triadic
#9F39B5 #B59F39 #39B59F
tetradic
#9F39B5 #B56139 #4FB539 #398DB5
square
#9F39B5 #B56139 #4FB539 #398DB5
split-complementary
#9F39B5 #8DB539 #39B561
monochromatic
#4D1C58 #762A86 #9F39B5 #B95FCD #CD8DDB

Accessibility & contrast

On white

5.64
#9F39B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9F39B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F39B5
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F39B5#FFFFFF#000000##FFFFFF
##9F39B51.005.643.735.64
#FFFFFF5.641.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0460B9
Deuteranopia (green-blind)
#446BB2
Tritanopia (blue-blind)
#A04F73
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f39b5;
/* rgb */ color: rgb(159, 57, 181);
/* oklch */ color: oklch(54.0% 0.201 320.0);
Tailwind
colors: {
  custom: {
    50: '#bf78cc',
    500: '#9f39b5',
    950: '#000000',
  },
}
SCSS
$custom: #9f39b5;
$custom-light: #bf78cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f39b5",
  "rgb": {
    "r": 159,
    "g": 57,
    "b": 181
  },
  "hsl": {
    "h": 289.355,
    "s": 52.101,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.20068,
    "h": 320
  },
  "luminance": 0.13633
}

Semantic roles & 50–950 ramp

primary
#9F39B5
secondary
#90C684
accent
#DC4C66
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130913
muted
#827B82

Preview Lab

Preview with #9F39B5

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

Preview Lab → · Contrast checker → · Palette generator →

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