#9754AE#9754AE

#9754AE is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.0% C 0.150 H 316.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9754AE
RGBrgb(151, 84, 174)
HSLhsl(285, 36%, 51%)
HSVhsv(285, 52%, 68%)
CMYKcmyk(13.2%, 51.7%, 0%, 31.8%)
CIE-LABlab(46.94, 42.83, -36.92)
CIE-LCHlch(46.94, 56.55, 319.23°)
OKLaboklab(56.05% 0.1096 -0.1026)
OKLCHoklch(56.05% 0.15 316.9)
XYZxyz(23.5717, 15.9767, 41.8783)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754AE #6BAE54
analogous
#6A54AE #9754AE #AE5498
triadic
#9754AE #AE9754 #54AE97
tetradic
#9754AE #AE6A54 #6BAE54 #5498AE
square
#9754AE #AE6A54 #6BAE54 #5498AE
split-complementary
#9754AE #98AE54 #54AE6A
monochromatic
#502C5C #743F86 #9754AE #B07EC2 #CAA7D5

Accessibility & contrast

On white

5.01
#9754AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9754AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9754AE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754AE#FFFFFF#000000##FFFFFF
##9754AE1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#426BB1
Deuteranopia (green-blind)
#5671AC
Tritanopia (blue-blind)
#966179
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9754ae;
/* rgb */ color: rgb(151, 84, 174);
/* oklch */ color: oklch(56.0% 0.150 316.9);
Tailwind
colors: {
  custom: {
    50: '#b887c6',
    500: '#9754ae',
    950: '#000000',
  },
}
SCSS
$custom: #9754ae;
$custom-light: #b887c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9754ae",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 174
  },
  "hsl": {
    "h": 284.667,
    "s": 35.714,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56048,
    "c": 0.15016,
    "h": 316.9
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#9754AE
secondary
#A5C39B
accent
#CC5C79
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#120B13
muted
#817C82

Preview Lab

Preview with #9754AE

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

Preview Lab → · Contrast checker → · Palette generator →

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