#9745BF#9745BF

#9745BF is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.191 H 312.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9745BF
RGBrgb(151, 69, 191)
HSLhsl(280, 49%, 51%)
HSVhsv(280, 64%, 75%)
CMYKcmyk(20.9%, 63.9%, 0%, 25.1%)
CIE-LABlab(45.08, 54.04, -49.83)
CIE-LCHlch(45.08, 73.51, 317.32°)
OKLaboklab(54.99% 0.1298 -0.1402)
OKLCHoklch(54.99% 0.191 312.8)
XYZxyz(24.2929, 14.5978, 50.8181)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745BF #6DBF45
analogous
#5A45BF #9745BF #BF45AA
triadic
#9745BF #BF9745 #45BF97
tetradic
#9745BF #BF5A45 #6DBF45 #45AABF
square
#9745BF #BF5A45 #6DBF45 #45AABF
split-complementary
#9745BF #AABF45 #45BF5A
monochromatic
#502366 #743394 #9745BF #B073CF #CAA0DE

Accessibility & contrast

On white

5.36
#9745BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9745BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745BF
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745BF#FFFFFF#000000##FFFFFF
##9745BF1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A66C3
Deuteranopia (green-blind)
#3D6CBC
Tritanopia (blue-blind)
#935C7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9745bf;
/* rgb */ color: rgb(151, 69, 191);
/* oklch */ color: oklch(55.0% 0.191 312.8);
Tailwind
colors: {
  custom: {
    50: '#b97ed3',
    500: '#9745bf',
    950: '#000000',
  },
}
SCSS
$custom: #9745bf;
$custom-light: #b97ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9745bf",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 280.328,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54993,
    "c": 0.19107,
    "h": 312.8
  },
  "luminance": 0.14597
}

Semantic roles & 50–950 ramp

primary
#9745BF
secondary
#A7CB95
accent
#D84F7C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9745BF

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

Preview Lab → · Contrast checker → · Palette generator →

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