#9745AD#9745AD

#9745AD is a mid, vivid purple. Relative luminance 0.139; OKLCH L 53.9% C 0.173 H 318.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9745AD
RGBrgb(151, 69, 173)
HSLhsl(287, 43%, 47%)
HSVhsv(287, 60%, 68%)
CMYKcmyk(12.7%, 60.1%, 0%, 32.2%)
CIE-LABlab(44.02, 50.28, -40.96)
CIE-LCHlch(44.02, 64.85, 320.83°)
OKLaboklab(53.89% 0.1298 -0.1143)
OKLCHoklch(53.89% 0.173 318.6)
XYZxyz(22.4324, 13.8536, 41.0194)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745AD #5BAD45
analogous
#6345AD #9745AD #AD458F
triadic
#9745AD #AD9745 #45AD97
tetradic
#9745AD #AD6345 #5BAD45 #458FAD
square
#9745AD #AD6345 #5BAD45 #458FAD
split-complementary
#9745AD #8FAD45 #45AD63
monochromatic
#4B2255 #713481 #9745AD #B16BC4 #C897D5

Accessibility & contrast

On white

5.57
#9745AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9745AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745AD
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745AD#FFFFFF#000000##FFFFFF
##9745AD1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B63B0
Deuteranopia (green-blind)
#4B6BAA
Tritanopia (blue-blind)
#975672
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9745ad;
/* rgb */ color: rgb(151, 69, 173);
/* oklch */ color: oklch(53.9% 0.173 318.6);
Tailwind
colors: {
  custom: {
    50: '#b87dc6',
    500: '#9745ad',
    950: '#000000',
  },
}
SCSS
$custom: #9745ad;
$custom-light: #b87dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#9745ad",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 287.308,
    "s": 42.975,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53887,
    "c": 0.17295,
    "h": 318.6
  },
  "luminance": 0.13853
}

Semantic roles & 50–950 ramp

primary
#9745AD
secondary
#98C18C
accent
#D35570
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9745AD

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

Preview Lab → · Contrast checker → · Palette generator →

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