#9640BC#9640BC

#9640BC is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.195 H 313.7°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#9640BC
RGBrgb(150, 64, 188)
HSLhsl(282, 49%, 49%)
HSVhsv(282, 66%, 74%)
CMYKcmyk(20.2%, 66%, 0%, 26.3%)
CIE-LABlab(43.92, 55.49, -49.95)
CIE-LCHlch(43.92, 74.66, 318.01°)
OKLaboklab(54.07% 0.1345 -0.1405)
OKLCHoklch(54.07% 0.195 313.7)
XYZxyz(23.4866, 13.7824, 48.9903)
Luminance0.1378 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640BC #66BC40
analogous
#5840BC #9640BC #BC40A4
triadic
#9640BC #BC9640 #40BC96
tetradic
#9640BC #BC5840 #66BC40 #40A4BC
square
#9640BC #BC5840 #66BC40 #40A4BC
split-complementary
#9640BC #A4BC40 #40BC58
monochromatic
#4D2161 #72308E #9640BC #AF6CCD #C89ADD

Accessibility & contrast

On white

5.59
#9640BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9640BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640BC
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640BC#FFFFFF#000000##FFFFFF
##9640BC1.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C0
Deuteranopia (green-blind)
#396AB9
Tritanopia (blue-blind)
#925879
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9640bc;
/* rgb */ color: rgb(150, 64, 188);
/* oklch */ color: oklch(54.1% 0.195 313.7);
Tailwind
colors: {
  custom: {
    50: '#b87bd1',
    500: '#9640bc',
    950: '#000000',
  },
}
SCSS
$custom: #9640bc;
$custom-light: #b87bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9640bc",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 281.613,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.19454,
    "h": 313.7
  },
  "luminance": 0.13782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9640BC

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

Preview Lab → · Contrast checker → · Palette generator →

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