#9745BD#9745BD

#9745BD is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.9% C 0.189 H 313.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9745BD
RGBrgb(151, 69, 189)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(20.1%, 63.5%, 0%, 25.9%)
CIE-LABlab(44.96, 53.61, -48.86)
CIE-LCHlch(44.96, 72.54, 317.66°)
OKLaboklab(54.87% 0.1299 -0.1374)
OKLCHoklch(54.87% 0.189 313.4)
XYZxyz(24.0744, 14.5104, 49.6669)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745BD #6BBD45
analogous
#5B45BD #9745BD #BD45A7
triadic
#9745BD #BD9745 #45BD97
tetradic
#9745BD #BD5B45 #6BBD45 #45A7BD
square
#9745BD #BD5B45 #6BBD45 #45A7BD
split-complementary
#9745BD #A7BD45 #45BD5B
monochromatic
#502464 #743491 #9745BD #B072CD #CA9FDD

Accessibility & contrast

On white

5.38
#9745BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9745BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745BD
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745BD#FFFFFF#000000##FFFFFF
##9745BD1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1166C1
Deuteranopia (green-blind)
#3E6CBA
Tritanopia (blue-blind)
#935C7B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9745bd;
/* rgb */ color: rgb(151, 69, 189);
/* oklch */ color: oklch(54.9% 0.189 313.4);
Tailwind
colors: {
  custom: {
    50: '#b97ed1',
    500: '#9745bd',
    950: '#000000',
  },
}
SCSS
$custom: #9745bd;
$custom-light: #b97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9745bd",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 281,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54866,
    "c": 0.18905,
    "h": 313.4
  },
  "luminance": 0.1451
}

Semantic roles & 50–950 ramp

primary
#9745BD
secondary
#A5CA94
accent
#D7517B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9745BD

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

Preview Lab → · Contrast checker → · Palette generator →

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