#9640BF#9640BF

#9640BF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.3% C 0.198 H 312.8°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9640BF
RGBrgb(150, 64, 191)
HSLhsl(281, 50%, 50%)
HSVhsv(281, 66%, 75%)
CMYKcmyk(21.5%, 66.5%, 0%, 25.1%)
CIE-LABlab(44.11, 56.12, -51.39)
CIE-LCHlch(44.11, 76.10, 317.52°)
OKLaboklab(54.27% 0.1343 -0.1448)
OKLCHoklch(54.27% 0.198 312.8)
XYZxyz(23.8134, 13.9131, 50.7112)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640BF #69BF40
analogous
#5740BF #9640BF #BF40A8
triadic
#9640BF #BF9640 #40BF96
tetradic
#9640BF #BF5740 #69BF40 #40A8BF
square
#9640BF #BF5740 #69BF40 #40A8BF
split-complementary
#9640BF #A8BF40 #40BF57
monochromatic
#4E2163 #723191 #9640BF #AF6ECE #C89CDE

Accessibility & contrast

On white

5.55
#9640BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#9640BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640BF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640BF#FFFFFF#000000##FFFFFF
##9640BF1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#366ABC
Tritanopia (blue-blind)
#92597A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9640bf;
/* rgb */ color: rgb(150, 64, 191);
/* oklch */ color: oklch(54.3% 0.198 312.8);
Tailwind
colors: {
  custom: {
    50: '#b97bd3',
    500: '#9640bf',
    950: '#000000',
  },
}
SCSS
$custom: #9640bf;
$custom-light: #b97bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#9640bf",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 280.63,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.54266,
    "c": 0.19751,
    "h": 312.8
  },
  "luminance": 0.13912
}

Semantic roles & 50–950 ramp

primary
#9640BF
secondary
#A3CA91
accent
#D94E7B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9640BF

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

Preview Lab → · Contrast checker → · Palette generator →

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