#9640BB#9640BB

#9640BB is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.0% C 0.194 H 314.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9640BB
RGBrgb(150, 64, 187)
HSLhsl(282, 49%, 49%)
HSVhsv(282, 66%, 73%)
CMYKcmyk(19.8%, 65.8%, 0%, 26.7%)
CIE-LABlab(43.86, 55.28, -49.46)
CIE-LCHlch(43.86, 74.17, 318.18°)
OKLaboklab(54.01% 0.1346 -0.1391)
OKLCHoklch(54.01% 0.194 314)
XYZxyz(23.3792, 13.7394, 48.4245)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640BB #65BB40
analogous
#5940BB #9640BB #BB40A3
triadic
#9640BB #BB9640 #40BB96
tetradic
#9640BB #BB5940 #65BB40 #40A3BB
square
#9640BB #BB5940 #65BB40 #40A3BB
split-complementary
#9640BB #A3BB40 #40BB59
monochromatic
#4D2160 #71308D #9640BB #AF6CCD #C899DC

Accessibility & contrast

On white

5.60
#9640BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#9640BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640BB
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640BB#FFFFFF#000000##FFFFFF
##9640BB1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#3A6AB8
Tritanopia (blue-blind)
#935878
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9640bb;
/* rgb */ color: rgb(150, 64, 187);
/* oklch */ color: oklch(54.0% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#b87bd0',
    500: '#9640bb',
    950: '#000000',
  },
}
SCSS
$custom: #9640bb;
$custom-light: #b87bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9640bb",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 281.951,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.19355,
    "h": 314
  },
  "luminance": 0.13739
}

Semantic roles & 50–950 ramp

primary
#9640BB
secondary
#A0C88F
accent
#D94F79
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9640BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9640BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva