#9F38C0#9F38C0

#9F38C0 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.6% C 0.212 H 316.7°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#9F38C0
RGBrgb(159, 56, 192)
HSLhsl(285, 55%, 49%)
HSVhsv(285, 71%, 75%)
CMYKcmyk(17.2%, 70.8%, 0%, 24.7%)
CIE-LABlab(44.24, 61.66, -51.69)
CIE-LCHlch(44.24, 80.46, 320.02°)
OKLaboklab(54.65% 0.1541 -0.1453)
OKLCHoklch(54.65% 0.212 316.7)
XYZxyz(25.2252, 14.0061, 51.2336)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F38C0 #59C038
analogous
#5B38C0 #9F38C0 #C0389D
triadic
#9F38C0 #C09F38 #38C09F
tetradic
#9F38C0 #C05B38 #59C038 #389DC0
square
#9F38C0 #C05B38 #59C038 #389DC0
split-complementary
#9F38C0 #9DC038 #38C05B
monochromatic
#511C61 #782A91 #9F38C0 #B764D2 #CD93DF

Accessibility & contrast

On white

5.52
#9F38C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9F38C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F38C0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F38C0#FFFFFF#000000##FFFFFF
##9F38C01.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#396CBD
Tritanopia (blue-blind)
#9D5378
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9f38c0;
/* rgb */ color: rgb(159, 56, 192);
/* oklch */ color: oklch(54.6% 0.212 316.7);
Tailwind
colors: {
  custom: {
    50: '#bf78d4',
    500: '#9f38c0',
    950: '#000000',
  },
}
SCSS
$custom: #9f38c0;
$custom-light: #bf78d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f38c0",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 285.441,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54645,
    "c": 0.2118,
    "h": 316.7
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#9F38C0
secondary
#99CB89
accent
#DE4A6E
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F38C0

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

Preview Lab → · Contrast checker → · Palette generator →

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