#9640C1#9640C1

#9640C1 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.4% C 0.200 H 312.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9640C1
RGBrgb(150, 64, 193)
HSLhsl(280, 51%, 50%)
HSVhsv(280, 67%, 76%)
CMYKcmyk(22.3%, 66.8%, 0%, 24.3%)
CIE-LABlab(44.24, 56.55, -52.35)
CIE-LCHlch(44.24, 77.06, 317.21°)
OKLaboklab(54.4% 0.1342 -0.1476)
OKLCHoklch(54.4% 0.2 312.3)
XYZxyz(24.0350, 14.0017, 51.8782)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640C1 #6BC140
analogous
#5540C1 #9640C1 #C140AB
triadic
#9640C1 #C19640 #40C196
tetradic
#9640C1 #C15540 #6BC140 #40ABC1
square
#9640C1 #C15540 #6BC140 #40ABC1
split-complementary
#9640C1 #ABC140 #40C155
monochromatic
#4F2166 #733094 #9640C1 #AF6ED0 #C99CDF

Accessibility & contrast

On white

5.53
#9640C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9640C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640C1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640C1#FFFFFF#000000##FFFFFF
##9640C11.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C5
Deuteranopia (green-blind)
#346ABE
Tritanopia (blue-blind)
#915A7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9640c1;
/* rgb */ color: rgb(150, 64, 193);
/* oklch */ color: oklch(54.4% 0.200 312.3);
Tailwind
colors: {
  custom: {
    50: '#b97bd4',
    500: '#9640c1',
    950: '#000000',
  },
}
SCSS
$custom: #9640c1;
$custom-light: #b97bd4;
$custom-dark: #000000;
JSON
{
  "hex": "#9640c1",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 280,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54398,
    "c": 0.1995,
    "h": 312.3
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

primary
#9640C1
secondary
#A5CB92
accent
#DA4D7C
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9640C1

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

Preview Lab → · Contrast checker → · Palette generator →

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