#9640AF#9640AF

#9640AF is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.182 H 317.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9640AF
RGBrgb(150, 64, 175)
HSLhsl(286, 46%, 47%)
HSVhsv(286, 63%, 69%)
CMYKcmyk(14.3%, 63.4%, 0%, 31.4%)
CIE-LABlab(43.13, 52.80, -43.56)
CIE-LCHlch(43.13, 68.45, 320.47°)
OKLaboklab(53.25% 0.1349 -0.1219)
OKLCHoklch(53.25% 0.182 317.9)
XYZxyz(22.1479, 13.2469, 41.9394)
Luminance0.1325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640AF #59AF40
analogous
#5E40AF #9640AF #AF4091
triadic
#9640AF #AF9640 #40AF96
tetradic
#9640AF #AF5E40 #59AF40 #4091AF
square
#9640AF #AF5E40 #59AF40 #4091AF
split-complementary
#9640AF #91AF40 #40AF5E
monochromatic
#491F55 #703082 #9640AF #B165C7 #C892D7

Accessibility & contrast

On white

5.75
#9640AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9640AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640AF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640AF#FFFFFF#000000##FFFFFF
##9640AF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D60B2
Deuteranopia (green-blind)
#4469AC
Tritanopia (blue-blind)
#955372
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9640af;
/* rgb */ color: rgb(150, 64, 175);
/* oklch */ color: oklch(53.2% 0.182 317.9);
Tailwind
colors: {
  custom: {
    50: '#b87ac7',
    500: '#9640af',
    950: '#000000',
  },
}
SCSS
$custom: #9640af;
$custom-light: #b87ac7;
$custom-dark: #000000;
JSON
{
  "hex": "#9640af",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 286.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53249,
    "c": 0.18177,
    "h": 317.9
  },
  "luminance": 0.13246
}

Semantic roles & 50–950 ramp

primary
#9640AF
secondary
#95C388
accent
#D65270
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9640AF

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

Preview Lab → · Contrast checker → · Palette generator →

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