#9F46BC#9F46BC

#9F46BC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 55.9% C 0.190 H 316.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#9F46BC
RGBrgb(159, 70, 188)
HSLhsl(285, 47%, 51%)
HSVhsv(285, 63%, 74%)
CMYKcmyk(15.4%, 62.8%, 0%, 26.3%)
CIE-LABlab(46.15, 54.84, -46.30)
CIE-LCHlch(46.15, 71.77, 319.83°)
OKLaboklab(55.94% 0.1387 -0.1296)
OKLCHoklch(55.94% 0.19 316.9)
XYZxyz(25.5640, 15.3831, 49.1898)
Luminance0.1538 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46BC #63BC46
analogous
#6446BC #9F46BC #BC469E
triadic
#9F46BC #BC9F46 #46BC9F
tetradic
#9F46BC #BC6446 #63BC46 #469EBC
square
#9F46BC #BC6446 #63BC46 #469EBC
split-complementary
#9F46BC #9EBC46 #46BC64
monochromatic
#542464 #7A3490 #9F46BC #B673CC #CEA0DD

Accessibility & contrast

On white

5.15
#9F46BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#9F46BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46BC
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46BC#FFFFFF#000000##FFFFFF
##9F46BC1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2068C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9E5B7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f46bc;
/* rgb */ color: rgb(159, 70, 188);
/* oklch */ color: oklch(55.9% 0.190 316.9);
Tailwind
colors: {
  custom: {
    50: '#be7fd1',
    500: '#9f46bc',
    950: '#000000',
  },
}
SCSS
$custom: #9f46bc;
$custom-light: #be7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46bc",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 285.254,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55942,
    "c": 0.18983,
    "h": 316.9
  },
  "luminance": 0.15382
}

Semantic roles & 50–950 ramp

primary
#9F46BC
secondary
#A2C995
accent
#D65172
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9F46BC

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

Preview Lab → · Contrast checker → · Palette generator →

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