#9F46BB#9F46BB

#9F46BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.189 H 317.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9F46BB
RGBrgb(159, 70, 187)
HSLhsl(286, 46%, 50%)
HSVhsv(286, 63%, 73%)
CMYKcmyk(15%, 62.6%, 0%, 26.7%)
CIE-LABlab(46.10, 54.64, -45.81)
CIE-LCHlch(46.10, 71.30, 320.02°)
OKLaboklab(55.88% 0.1387 -0.1282)
OKLCHoklch(55.88% 0.189 317.2)
XYZxyz(25.4566, 15.3401, 48.6241)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F46BB #62BB46
analogous
#6446BB #9F46BB #BB469C
triadic
#9F46BB #BB9F46 #46BB9F
tetradic
#9F46BB #BB6446 #62BB46 #469CBB
square
#9F46BB #BB6446 #62BB46 #469CBB
split-complementary
#9F46BB #9CBB46 #46BB64
monochromatic
#542462 #7A358F #9F46BB #B673CB #CDA0DC

Accessibility & contrast

On white

5.16
#9F46BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9F46BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F46BB
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F46BB#FFFFFF#000000##FFFFFF
##9F46BB1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2168BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9E5A7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9f46bb;
/* rgb */ color: rgb(159, 70, 187);
/* oklch */ color: oklch(55.9% 0.189 317.2);
Tailwind
colors: {
  custom: {
    50: '#be7fd0',
    500: '#9f46bb',
    950: '#000000',
  },
}
SCSS
$custom: #9f46bb;
$custom-light: #be7fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f46bb",
  "rgb": {
    "r": 159,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 285.641,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.18885,
    "h": 317.2
  },
  "luminance": 0.15339
}

Semantic roles & 50–950 ramp

primary
#9F46BB
secondary
#A1C894
accent
#D65271
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9F46BB

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

Preview Lab → · Contrast checker → · Palette generator →

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