#9640BE#9640BE

#9640BE is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.197 H 313.1°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#9640BE
RGBrgb(150, 64, 190)
HSLhsl(281, 50%, 50%)
HSVhsv(281, 66%, 75%)
CMYKcmyk(21.1%, 66.3%, 0%, 25.5%)
CIE-LABlab(44.04, 55.91, -50.91)
CIE-LCHlch(44.04, 75.62, 317.68°)
OKLaboklab(54.2% 0.1344 -0.1434)
OKLCHoklch(54.2% 0.197 313.1)
XYZxyz(23.7037, 13.8692, 50.1336)
Luminance0.1387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640BE #68BE40
analogous
#5740BE #9640BE #BE40A7
triadic
#9640BE #BE9640 #40BE96
tetradic
#9640BE #BE5740 #68BE40 #40A7BE
square
#9640BE #BE5740 #68BE40 #40A7BE
split-complementary
#9640BE #A7BE40 #40BE57
monochromatic
#4E2162 #723190 #9640BE #AF6DCE #C89BDD

Accessibility & contrast

On white

5.56
#9640BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9640BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640BE
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640BE#FFFFFF#000000##FFFFFF
##9640BE1.005.563.775.56
#FFFFFF5.561.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#376ABB
Tritanopia (blue-blind)
#92597A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9640be;
/* rgb */ color: rgb(150, 64, 190);
/* oklch */ color: oklch(54.2% 0.197 313.1);
Tailwind
colors: {
  custom: {
    50: '#b87bd2',
    500: '#9640be',
    950: '#000000',
  },
}
SCSS
$custom: #9640be;
$custom-light: #b87bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9640be",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 280.952,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.542,
    "c": 0.19652,
    "h": 313.1
  },
  "luminance": 0.13869
}

Semantic roles & 50–950 ramp

primary
#9640BE
secondary
#A2C990
accent
#D94F7B
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9640BE

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

Preview Lab → · Contrast checker → · Palette generator →

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