#9642AF#9642AF

#9642AF is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.5% C 0.179 H 317.7°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9642AF
RGBrgb(150, 66, 175)
HSLhsl(286, 45%, 47%)
HSVhsv(286, 62%, 69%)
CMYKcmyk(14.3%, 62.3%, 0%, 31.4%)
CIE-LABlab(43.47, 51.86, -43.02)
CIE-LCHlch(43.47, 67.39, 320.32°)
OKLaboklab(53.5% 0.1324 -0.1203)
OKLCHoklch(53.5% 0.179 317.7)
XYZxyz(22.2627, 13.4765, 41.9777)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642AF #5BAF42
analogous
#6042AF #9642AF #AF4291
triadic
#9642AF #AF9642 #42AF96
tetradic
#9642AF #AF6042 #5BAF42 #4291AF
square
#9642AF #AF6042 #5BAF42 #4291AF
split-complementary
#9642AF #91AF42 #42AF60
monochromatic
#4A2056 #703183 #9642AF #B168C6 #C895D7

Accessibility & contrast

On white

5.68
#9642AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9642AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642AF
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642AF#FFFFFF#000000##FFFFFF
##9642AF1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#4669AC
Tritanopia (blue-blind)
#955572
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9642af;
/* rgb */ color: rgb(150, 66, 175);
/* oklch */ color: oklch(53.5% 0.179 317.7);
Tailwind
colors: {
  custom: {
    50: '#b87cc7',
    500: '#9642af',
    950: '#000000',
  },
}
SCSS
$custom: #9642af;
$custom-light: #b87cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9642af",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 175
  },
  "hsl": {
    "h": 286.239,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53496,
    "c": 0.17889,
    "h": 317.7
  },
  "luminance": 0.13476
}

Semantic roles & 50–950 ramp

primary
#9642AF
secondary
#97C28A
accent
#D55371
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9642AF

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

Preview Lab → · Contrast checker → · Palette generator →

#9642AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva