#9645A2#9645A2

#9645A2 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.1% C 0.162 H 322.3°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9645A2
RGBrgb(150, 69, 162)
HSLhsl(292, 40%, 45%)
HSVhsv(292, 57%, 64%)
CMYKcmyk(7.4%, 57.4%, 0%, 36.5%)
CIE-LABlab(43.29, 47.81, -35.61)
CIE-LCHlch(43.29, 59.62, 323.32°)
OKLaboklab(53.13% 0.1279 -0.0988)
OKLCHoklch(53.13% 0.162 322.3)
XYZxyz(21.2267, 13.3499, 35.6341)
Luminance0.1335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645A2 #51A245
analogous
#6745A2 #9645A2 #A2457F
triadic
#9645A2 #A29645 #45A296
tetradic
#9645A2 #A26745 #51A245 #457FA2
square
#9645A2 #A26745 #51A245 #457FA2
split-complementary
#9645A2 #7FA245 #45A267
monochromatic
#47204C #6E3377 #9645A2 #B366BE #C891D0

Accessibility & contrast

On white

5.72
#9645A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9645A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645A2
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645A2#FFFFFF#000000##FFFFFF
##9645A21.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#50699F
Tritanopia (blue-blind)
#98526D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9645a2;
/* rgb */ color: rgb(150, 69, 162);
/* oklch */ color: oklch(53.1% 0.162 322.3);
Tailwind
colors: {
  custom: {
    50: '#b77dbe',
    500: '#9645a2',
    950: '#000000',
  },
}
SCSS
$custom: #9645a2;
$custom-light: #b77dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#9645a2",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 162
  },
  "hsl": {
    "h": 292.258,
    "s": 40.26,
    "l": 45.294
  },
  "oklch": {
    "l": 0.53127,
    "c": 0.16159,
    "h": 322.3
  },
  "luminance": 0.13349
}

Semantic roles & 50–950 ramp

primary
#9645A2
secondary
#8EBC87
accent
#D05867
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9645A2

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

Preview Lab → · Contrast checker → · Palette generator →

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