#9745B2#9745B2

#9745B2 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.2% C 0.178 H 316.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9745B2
RGBrgb(151, 69, 178)
HSLhsl(285, 44%, 48%)
HSVhsv(285, 61%, 70%)
CMYKcmyk(15.2%, 61.2%, 0%, 30.2%)
CIE-LABlab(44.31, 51.30, -43.46)
CIE-LCHlch(44.31, 67.23, 319.73°)
OKLaboklab(54.19% 0.1299 -0.1216)
OKLCHoklch(54.19% 0.178 316.9)
XYZxyz(22.9253, 14.0508, 43.6153)
Luminance0.1405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745B2 #60B245
analogous
#6045B2 #9745B2 #B24596
triadic
#9745B2 #B29745 #45B297
tetradic
#9745B2 #B26045 #60B245 #4596B2
square
#9745B2 #B26045 #60B245 #4596B2
split-complementary
#9745B2 #96B245 #45B260
monochromatic
#4C235A #723486 #9745B2 #B16EC7 #C89AD8

Accessibility & contrast

On white

5.51
#9745B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9745B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745B2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745B2#FFFFFF#000000##FFFFFF
##9745B21.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2564B5
Deuteranopia (green-blind)
#476BAF
Tritanopia (blue-blind)
#965875
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9745b2;
/* rgb */ color: rgb(151, 69, 178);
/* oklch */ color: oklch(54.2% 0.178 316.9);
Tailwind
colors: {
  custom: {
    50: '#b87dc9',
    500: '#9745b2',
    950: '#000000',
  },
}
SCSS
$custom: #9745b2;
$custom-light: #b87dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9745b2",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 285.138,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54185,
    "c": 0.17794,
    "h": 316.9
  },
  "luminance": 0.1405
}

Semantic roles & 50–950 ramp

primary
#9745B2
secondary
#9CC48F
accent
#D45474
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9745B2

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

Preview Lab → · Contrast checker → · Palette generator →

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