#9640A3#9640A3

#9640A3 is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.5% C 0.170 H 322.2°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9640A3
RGBrgb(150, 64, 163)
HSLhsl(292, 44%, 45%)
HSVhsv(292, 61%, 64%)
CMYKcmyk(8%, 60.7%, 0%, 36.1%)
CIE-LABlab(42.45, 50.41, -37.52)
CIE-LCHlch(42.45, 62.84, 323.34°)
OKLaboklab(52.54% 0.1345 -0.1043)
OKLCHoklch(52.54% 0.17 322.2)
XYZxyz(21.0212, 12.7962, 36.0059)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640A3 #4DA340
analogous
#6540A3 #9640A3 #A3407F
triadic
#9640A3 #A39640 #40A396
tetradic
#9640A3 #A36540 #4DA340 #407FA3
square
#9640A3 #A36540 #4DA340 #407FA3
split-complementary
#9640A3 #7FA340 #40A365
monochromatic
#451D4B #6E2F77 #9640A3 #B460C0 #C98CD2

Accessibility & contrast

On white

5.90
#9640A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9640A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640A3
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640A3#FFFFFF#000000##FFFFFF
##9640A31.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5EA6
Deuteranopia (green-blind)
#4C68A0
Tritanopia (blue-blind)
#984F6B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9640a3;
/* rgb */ color: rgb(150, 64, 163);
/* oklch */ color: oklch(52.5% 0.170 322.2);
Tailwind
colors: {
  custom: {
    50: '#b87abf',
    500: '#9640a3',
    950: '#000000',
  },
}
SCSS
$custom: #9640a3;
$custom-light: #b87abf;
$custom-dark: #000000;
JSON
{
  "hex": "#9640a3",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 163
  },
  "hsl": {
    "h": 292.121,
    "s": 43.612,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52538,
    "c": 0.17021,
    "h": 322.2
  },
  "luminance": 0.12795
}

Semantic roles & 50–950 ramp

primary
#9640A3
secondary
#8ABD82
accent
#D35465
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9640A3

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

Preview Lab → · Contrast checker → · Palette generator →

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