#9640BA#9640BA

#9640BA is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.9% C 0.193 H 314.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9640BA
RGBrgb(150, 64, 186)
HSLhsl(282, 49%, 49%)
HSVhsv(282, 66%, 73%)
CMYKcmyk(19.4%, 65.6%, 0%, 27.1%)
CIE-LABlab(43.79, 55.07, -48.98)
CIE-LCHlch(43.79, 73.70, 318.35°)
OKLaboklab(53.94% 0.1346 -0.1377)
OKLCHoklch(53.94% 0.193 314.3)
XYZxyz(23.2725, 13.6967, 47.8627)
Luminance0.1370 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640BA #64BA40
analogous
#5940BA #9640BA #BA40A1
triadic
#9640BA #BA9640 #40BA96
tetradic
#9640BA #BA5940 #64BA40 #40A1BA
square
#9640BA #BA5940 #64BA40 #40A1BA
split-complementary
#9640BA #A1BA40 #40BA59
monochromatic
#4D215F #71308C #9640BA #AF6BCC #C899DC

Accessibility & contrast

On white

5.62
#9640BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9640BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640BA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640BA#FFFFFF#000000##FFFFFF
##9640BA1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BE
Deuteranopia (green-blind)
#3B6AB7
Tritanopia (blue-blind)
#935777
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9640ba;
/* rgb */ color: rgb(150, 64, 186);
/* oklch */ color: oklch(53.9% 0.193 314.3);
Tailwind
colors: {
  custom: {
    50: '#b87bcf',
    500: '#9640ba',
    950: '#000000',
  },
}
SCSS
$custom: #9640ba;
$custom-light: #b87bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9640ba",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 282.295,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5394,
    "c": 0.19256,
    "h": 314.3
  },
  "luminance": 0.13696
}

Semantic roles & 50–950 ramp

primary
#9640BA
secondary
#9FC88E
accent
#D84F78
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9640BA

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

Preview Lab → · Contrast checker → · Palette generator →

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