#9745A2#9745A2

#9745A2 is a mid, vivid purple. Relative luminance 0.134; OKLCH L 53.3% C 0.162 H 322.8°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9745A2
RGBrgb(151, 69, 162)
HSLhsl(293, 40%, 45%)
HSVhsv(293, 57%, 64%)
CMYKcmyk(6.8%, 57.4%, 0%, 36.5%)
CIE-LABlab(43.43, 48.08, -35.38)
CIE-LCHlch(43.43, 59.70, 323.66°)
OKLaboklab(53.26% 0.1291 -0.0981)
OKLCHoklch(53.26% 0.162 322.8)
XYZxyz(21.4116, 13.4453, 35.6428)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9745A2 #50A245
analogous
#6845A2 #9745A2 #A2457F
triadic
#9745A2 #A29745 #45A297
tetradic
#9745A2 #A26845 #50A245 #457FA2
square
#9745A2 #A26845 #50A245 #457FA2
split-complementary
#9745A2 #7FA245 #45A268
monochromatic
#47204C #6F3377 #9745A2 #B466BE #C991D0

Accessibility & contrast

On white

5.69
#9745A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9745A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9745A2
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9745A2#FFFFFF#000000##FFFFFF
##9745A21.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#516A9F
Tritanopia (blue-blind)
#99526D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9745a2;
/* rgb */ color: rgb(151, 69, 162);
/* oklch */ color: oklch(53.3% 0.162 322.8);
Tailwind
colors: {
  custom: {
    50: '#b87dbe',
    500: '#9745a2',
    950: '#000000',
  },
}
SCSS
$custom: #9745a2;
$custom-light: #b87dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9745a2",
  "rgb": {
    "r": 151,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 292.903,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53259,
    "c": 0.16213,
    "h": 322.8
  },
  "luminance": 0.13444
}

Semantic roles & 50–950 ramp

primary
#9745A2
secondary
#8DBC87
accent
#D05866
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9745A2

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

Preview Lab → · Contrast checker → · Palette generator →

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