#9745BC#9745BC

#9745BC is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.188 H 313.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9745BC
RGBrgb(151, 69, 188)
HSLhsl(281, 47%, 50%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(19.7%, 63.3%, 0%, 26.3%)
CIE-LABlab(44.90, 53.40, -48.37)
CIE-LCHlch(44.90, 72.05, 317.83°)
OKLaboklab(54.8% 0.1299 -0.1359)
OKLCHoklch(54.8% 0.188 313.7)
XYZxyz(23.9662, 14.4671, 49.0972)
Luminance0.1447 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745BC #6ABC45
analogous
#5C45BC #9745BC #BC45A5
triadic
#9745BC #BC9745 #45BC97
tetradic
#9745BC #BC5C45 #6ABC45 #45A5BC
square
#9745BC #BC5C45 #6ABC45 #45A5BC
split-complementary
#9745BC #A5BC45 #45BC5C
monochromatic
#4F2463 #733490 #9745BC #B072CC #C99FDC

Accessibility & contrast

On white

5.39
#9745BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9745BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745BC
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745BC#FFFFFF#000000##FFFFFF
##9745BC1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1366C0
Deuteranopia (green-blind)
#3F6CB9
Tritanopia (blue-blind)
#945B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9745bc;
/* rgb */ color: rgb(151, 69, 188);
/* oklch */ color: oklch(54.8% 0.188 313.7);
Tailwind
colors: {
  custom: {
    50: '#b97ed1',
    500: '#9745bc',
    950: '#000000',
  },
}
SCSS
$custom: #9745bc;
$custom-light: #b97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9745bc",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 281.345,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54802,
    "c": 0.18803,
    "h": 313.7
  },
  "luminance": 0.14466
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9745BC

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

Preview Lab → · Contrast checker → · Palette generator →

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