#9945AF#9945AF

#9945AF is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.3% C 0.176 H 318.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9945AF
RGBrgb(153, 69, 175)
HSLhsl(288, 43%, 48%)
HSVhsv(288, 61%, 69%)
CMYKcmyk(12.6%, 60.6%, 0%, 31.4%)
CIE-LABlab(44.41, 51.19, -41.50)
CIE-LCHlch(44.41, 65.90, 320.97°)
OKLaboklab(54.26% 0.1323 -0.1158)
OKLCHoklch(54.26% 0.176 318.8)
XYZxyz(23.0018, 14.1247, 42.0638)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945AF #5BAF45
analogous
#6445AF #9945AF #AF4590
triadic
#9945AF #AF9945 #45AF99
tetradic
#9945AF #AF6445 #5BAF45 #4590AF
square
#9945AF #AF6445 #5BAF45 #4590AF
split-complementary
#9945AF #90AF45 #45AF64
monochromatic
#4C2257 #733483 #9945AF #B36CC5 #C998D6

Accessibility & contrast

On white

5.49
#9945AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#9945AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945AF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945AF#FFFFFF#000000##FFFFFF
##9945AF1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A63B2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#995673
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9945af;
/* rgb */ color: rgb(153, 69, 175);
/* oklch */ color: oklch(54.3% 0.176 318.8);
Tailwind
colors: {
  custom: {
    50: '#ba7ec7',
    500: '#9945af',
    950: '#000000',
  },
}
SCSS
$custom: #9945af;
$custom-light: #ba7ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9945af",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 175
  },
  "hsl": {
    "h": 287.547,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54264,
    "c": 0.17585,
    "h": 318.8
  },
  "luminance": 0.14124
}

Semantic roles & 50–950 ramp

primary
#9945AF
secondary
#98C28D
accent
#D3556F
background
#FBF7FC
surface
#F7EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9945AF

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

Preview Lab → · Contrast checker → · Palette generator →

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