#9745AF#9745AF

#9745AF is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.0% C 0.175 H 317.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#9745AF
RGBrgb(151, 69, 175)
HSLhsl(286, 43%, 48%)
HSVhsv(286, 61%, 69%)
CMYKcmyk(13.7%, 60.6%, 0%, 31.4%)
CIE-LABlab(44.13, 50.68, -41.96)
CIE-LCHlch(44.13, 65.80, 320.38°)
OKLaboklab(54.01% 0.1299 -0.1172)
OKLCHoklch(54.01% 0.175 317.9)
XYZxyz(22.6274, 13.9316, 42.0463)
Luminance0.1393 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745AF #5DAF45
analogous
#6245AF #9745AF #AF4592
triadic
#9745AF #AF9745 #45AF97
tetradic
#9745AF #AF6245 #5DAF45 #4592AF
square
#9745AF #AF6245 #5DAF45 #4592AF
split-complementary
#9745AF #92AF45 #45AF62
monochromatic
#4B2257 #713483 #9745AF #B16CC5 #C898D6

Accessibility & contrast

On white

5.55
#9745AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9745AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745AF
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745AF#FFFFFF#000000##FFFFFF
##9745AF1.005.553.795.55
#FFFFFF5.551.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#496BAC
Tritanopia (blue-blind)
#975773
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9745af;
/* rgb */ color: rgb(151, 69, 175);
/* oklch */ color: oklch(54.0% 0.175 317.9);
Tailwind
colors: {
  custom: {
    50: '#b87dc7',
    500: '#9745af',
    950: '#000000',
  },
}
SCSS
$custom: #9745af;
$custom-light: #b87dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9745af",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 286.415,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54005,
    "c": 0.17493,
    "h": 317.9
  },
  "luminance": 0.13931
}

Semantic roles & 50–950 ramp

primary
#9745AF
secondary
#99C28D
accent
#D35571
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9745AF

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

Preview Lab → · Contrast checker → · Palette generator →

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