#9754AF#9754AF

#9754AF is a mid, vivid purple. Relative luminance 0.160; OKLCH L 56.1% C 0.151 H 316.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9754AF
RGBrgb(151, 84, 175)
HSLhsl(284, 36%, 51%)
HSVhsv(284, 52%, 69%)
CMYKcmyk(13.7%, 52%, 0%, 31.4%)
CIE-LABlab(47.00, 43.04, -37.43)
CIE-LCHlch(47.00, 57.04, 318.99°)
OKLaboklab(56.1% 0.1097 -0.1041)
OKLCHoklch(56.1% 0.151 316.5)
XYZxyz(23.6695, 16.0159, 42.3937)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9754AF #6CAF54
analogous
#6954AF #9754AF #AF5499
triadic
#9754AF #AF9754 #54AF97
tetradic
#9754AF #AF6954 #6CAF54 #5499AF
square
#9754AF #AF6954 #6CAF54 #5499AF
split-complementary
#9754AF #99AF54 #54AF69
monochromatic
#502C5D #743F87 #9754AF #B07EC3 #CAA7D6

Accessibility & contrast

On white

5.00
#9754AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9754AF
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9754AF#FFFFFF#000000##FFFFFF
##9754AF1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#416BB2
Deuteranopia (green-blind)
#5671AD
Tritanopia (blue-blind)
#96627A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9754af;
/* rgb */ color: rgb(151, 84, 175);
/* oklch */ color: oklch(56.1% 0.151 316.5);
Tailwind
colors: {
  custom: {
    50: '#b887c7',
    500: '#9754af',
    950: '#000000',
  },
}
SCSS
$custom: #9754af;
$custom-light: #b887c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9754af",
  "rgb": {
    "r": 151,
    "g": 84,
    "b": 175
  },
  "hsl": {
    "h": 284.176,
    "s": 36.255,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56102,
    "c": 0.15125,
    "h": 316.5
  },
  "luminance": 0.16015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9754AF

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

Preview Lab → · Contrast checker → · Palette generator →

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