#9640AE#9640AE

#9640AE is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.181 H 318.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9640AE
RGBrgb(150, 64, 174)
HSLhsl(287, 46%, 47%)
HSVhsv(287, 63%, 68%)
CMYKcmyk(13.8%, 63.2%, 0%, 31.8%)
CIE-LABlab(43.07, 52.60, -43.07)
CIE-LCHlch(43.07, 67.98, 320.69°)
OKLaboklab(53.19% 0.1348 -0.1204)
OKLCHoklch(53.19% 0.181 318.2)
XYZxyz(22.0500, 13.2077, 41.4241)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640AE #58AE40
analogous
#5F40AE #9640AE #AE408F
triadic
#9640AE #AE9640 #40AE96
tetradic
#9640AE #AE5F40 #58AE40 #408FAE
square
#9640AE #AE5F40 #58AE40 #408FAE
split-complementary
#9640AE #8FAE40 #40AE5F
monochromatic
#491F55 #6F3081 #9640AE #B165C6 #C892D7

Accessibility & contrast

On white

5.77
#9640AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9640AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640AE
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640AE#FFFFFF#000000##FFFFFF
##9640AE1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F60B1
Deuteranopia (green-blind)
#4569AB
Tritanopia (blue-blind)
#965371
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9640ae;
/* rgb */ color: rgb(150, 64, 174);
/* oklch */ color: oklch(53.2% 0.181 318.2);
Tailwind
colors: {
  custom: {
    50: '#b87ac7',
    500: '#9640ae',
    950: '#000000',
  },
}
SCSS
$custom: #9640ae;
$custom-light: #b87ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9640ae",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 174
  },
  "hsl": {
    "h": 286.909,
    "s": 46.218,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53188,
    "c": 0.18079,
    "h": 318.2
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#9640AE
secondary
#94C288
accent
#D6526F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9640AE

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

Preview Lab → · Contrast checker → · Palette generator →

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