#9F38BE#9F38BE

#9F38BE is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.5% C 0.210 H 317.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9F38BE
RGBrgb(159, 56, 190)
HSLhsl(286, 54%, 48%)
HSVhsv(286, 71%, 75%)
CMYKcmyk(16.3%, 70.5%, 0%, 25.5%)
CIE-LABlab(44.12, 61.26, -50.73)
CIE-LCHlch(44.12, 79.54, 320.37°)
OKLaboklab(54.51% 0.1542 -0.1425)
OKLCHoklch(54.51% 0.21 317.3)
XYZxyz(25.0052, 13.9180, 50.0745)
Luminance0.1392 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F38BE #57BE38
analogous
#5C38BE #9F38BE #BE389A
triadic
#9F38BE #BE9F38 #38BE9F
tetradic
#9F38BE #BE5C38 #57BE38 #389ABE
square
#9F38BE #BE5C38 #57BE38 #389ABE
split-complementary
#9F38BE #9ABE38 #38BE5C
monochromatic
#501C5F #772A8F #9F38BE #B762D1 #CD92DF

Accessibility & contrast

On white

5.55
#9F38BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9F38BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F38BE
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F38BE#FFFFFF#000000##FFFFFF
##9F38BE1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#3B6BBB
Tritanopia (blue-blind)
#9E5377
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f38be;
/* rgb */ color: rgb(159, 56, 190);
/* oklch */ color: oklch(54.5% 0.210 317.3);
Tailwind
colors: {
  custom: {
    50: '#bf78d2',
    500: '#9f38be',
    950: '#000000',
  },
}
SCSS
$custom: #9f38be;
$custom-light: #bf78d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9f38be",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 286.119,
    "s": 54.472,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.21,
    "h": 317.3
  },
  "luminance": 0.13917
}

Semantic roles & 50–950 ramp

primary
#9F38BE
secondary
#97CA88
accent
#DE4A6C
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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