#9864AE#9864AE

#9864AE is a mid, vivid purple. Relative luminance 0.188; OKLCH L 58.7% C 0.123 H 315.3°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9864AE
RGBrgb(152, 100, 174)
HSLhsl(282, 31%, 54%)
HSVhsv(282, 43%, 68%)
CMYKcmyk(12.6%, 42.5%, 0%, 31.8%)
CIE-LABlab(50.51, 34.31, -31.32)
CIE-LCHlch(50.51, 46.46, 317.60°)
OKLaboklab(58.73% 0.0875 -0.0865)
OKLCHoklch(58.73% 0.123 315.3)
XYZxyz(25.1449, 18.8464, 42.3493)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9864AE #7AAE64
analogous
#7364AE #9864AE #AE649F
triadic
#9864AE #AE9864 #64AE98
tetradic
#9864AE #AE7364 #7AAE64 #649FAE
square
#9864AE #AE7364 #7AAE64 #649FAE
split-complementary
#9864AE #9FAE64 #64AE73
monochromatic
#553464 #78498C #9864AE #B38CC3 #CDB4D8

Accessibility & contrast

On white

4.40
#9864AE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#9864AE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9864AE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9864AE#FFFFFF#000000##000000
##9864AE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5775B1
Deuteranopia (green-blind)
#647AAC
Tritanopia (blue-blind)
#976E81
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9864ae;
/* rgb */ color: rgb(152, 100, 174);
/* oklch */ color: oklch(58.7% 0.123 315.3);
Tailwind
colors: {
  custom: {
    50: '#b791c6',
    500: '#9864ae',
    950: '#000000',
  },
}
SCSS
$custom: #9864ae;
$custom-light: #b791c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9864ae",
  "rgb": {
    "r": 152,
    "g": 100,
    "b": 174
  },
  "hsl": {
    "h": 282.162,
    "s": 31.356,
    "l": 53.725
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.12307,
    "h": 315.3
  },
  "luminance": 0.18846
}

Semantic roles & 50–950 ramp

primary
#9864AE
secondary
#B0C7A7
accent
#C8607F
background
#FBF9FC
surface
#F6F1F8
border
#D0CBD1
text
#110D13
muted
#807E82

Preview Lab

Preview with #9864AE

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

Preview Lab → · Contrast checker → · Palette generator →

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