#9647BA#9647BA

#9647BA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.183 H 313.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#9647BA
RGBrgb(150, 71, 186)
HSLhsl(281, 45%, 50%)
HSVhsv(281, 62%, 73%)
CMYKcmyk(19.4%, 61.8%, 0%, 27.1%)
CIE-LABlab(44.99, 51.77, -47.06)
CIE-LCHlch(44.99, 69.96, 317.73°)
OKLaboklab(54.81% 0.1262 -0.1321)
OKLCHoklch(54.81% 0.183 313.7)
XYZxyz(23.6923, 14.5364, 48.0026)
Luminance0.1454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647BA #6BBA47
analogous
#5C47BA #9647BA #BA47A5
triadic
#9647BA #BA9647 #47BA96
tetradic
#9647BA #BA5C47 #6BBA47 #47A5BA
square
#9647BA #BA5C47 #6BBA47 #47A5BA
split-complementary
#9647BA #A5BA47 #47BA5C
monochromatic
#4F2562 #73358E #9647BA #AF74CB #C9A0DB

Accessibility & contrast

On white

5.37
#9647BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#9647BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647BA
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647BA#FFFFFF#000000##FFFFFF
##9647BA1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D66BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#935C7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9647ba;
/* rgb */ color: rgb(150, 71, 186);
/* oklch */ color: oklch(54.8% 0.183 313.7);
Tailwind
colors: {
  custom: {
    50: '#b87fcf',
    500: '#9647ba',
    950: '#000000',
  },
}
SCSS
$custom: #9647ba;
$custom-light: #b87fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9647ba",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 186
  },
  "hsl": {
    "h": 281.217,
    "s": 45.455,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.18275,
    "h": 313.7
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#9647BA
secondary
#A5C895
accent
#D5537C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9647BA

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

Preview Lab → · Contrast checker → · Palette generator →

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