#9745BB#9745BB

#9745BB is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.7% C 0.187 H 314.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#9745BB
RGBrgb(151, 69, 187)
HSLhsl(282, 46%, 50%)
HSVhsv(282, 63%, 73%)
CMYKcmyk(19.3%, 63.1%, 0%, 26.7%)
CIE-LABlab(44.84, 53.19, -47.89)
CIE-LCHlch(44.84, 71.57, 318.00°)
OKLaboklab(54.74% 0.1299 -0.1345)
OKLCHoklch(54.74% 0.187 314)
XYZxyz(23.8588, 14.4241, 48.5314)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745BB #69BB45
analogous
#5C45BB #9745BB #BB45A4
triadic
#9745BB #BB9745 #45BB97
tetradic
#9745BB #BB5C45 #69BB45 #45A4BB
square
#9745BB #BB5C45 #69BB45 #45A4BB
split-complementary
#9745BB #A4BB45 #45BB5C
monochromatic
#4F2462 #73348F #9745BB #B072CB #C99FDC

Accessibility & contrast

On white

5.41
#9745BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#9745BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745BB
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745BB#FFFFFF#000000##FFFFFF
##9745BB1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1666BF
Deuteranopia (green-blind)
#406CB8
Tritanopia (blue-blind)
#945B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9745bb;
/* rgb */ color: rgb(151, 69, 187);
/* oklch */ color: oklch(54.7% 0.187 314.0);
Tailwind
colors: {
  custom: {
    50: '#b97ed0',
    500: '#9745bb',
    950: '#000000',
  },
}
SCSS
$custom: #9745bb;
$custom-light: #b97ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#9745bb",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 281.695,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54739,
    "c": 0.18702,
    "h": 314
  },
  "luminance": 0.14423
}

Semantic roles & 50–950 ramp

primary
#9745BB
secondary
#A4C894
accent
#D6527A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9745BB

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

Preview Lab → · Contrast checker → · Palette generator →

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