#9647BC#9647BC

#9647BC is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.185 H 313.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9647BC
RGBrgb(150, 71, 188)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 62%, 74%)
CMYKcmyk(20.2%, 62.2%, 0%, 26.3%)
CIE-LABlab(45.11, 52.20, -48.03)
CIE-LCHlch(45.11, 70.94, 317.38°)
OKLaboklab(54.93% 0.1262 -0.135)
OKLCHoklch(54.93% 0.185 313.1)
XYZxyz(23.9064, 14.6220, 49.1302)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647BC #6DBC47
analogous
#5B47BC #9647BC #BC47A7
triadic
#9647BC #BC9647 #47BC96
tetradic
#9647BC #BC5B47 #6DBC47 #47A7BC
square
#9647BC #BC5B47 #6DBC47 #47A7BC
split-complementary
#9647BC #A7BC47 #47BC5B
monochromatic
#4F2464 #733591 #9647BC #B074CC #C9A1DD

Accessibility & contrast

On white

5.35
#9647BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9647BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647BC
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647BC#FFFFFF#000000##FFFFFF
##9647BC1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1967C0
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#925D7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9647bc;
/* rgb */ color: rgb(150, 71, 188);
/* oklch */ color: oklch(54.9% 0.185 313.1);
Tailwind
colors: {
  custom: {
    50: '#b87fd1',
    500: '#9647bc',
    950: '#000000',
  },
}
SCSS
$custom: #9647bc;
$custom-light: #b87fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9647bc",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 188
  },
  "hsl": {
    "h": 280.513,
    "s": 46.614,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54931,
    "c": 0.18481,
    "h": 313.1
  },
  "luminance": 0.14621
}

Semantic roles & 50–950 ramp

primary
#9647BC
secondary
#A6C995
accent
#D6527D
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9647BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9647BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva