#9640CE#9640CE

#9640CE is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.3% C 0.212 H 308.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9640CE
RGBrgb(150, 64, 206)
HSLhsl(276, 59%, 53%)
HSVhsv(276, 69%, 81%)
CMYKcmyk(27.2%, 68.9%, 0%, 19.2%)
CIE-LABlab(45.09, 59.36, -58.50)
CIE-LCHlch(45.09, 83.35, 315.42°)
OKLaboklab(55.28% 0.133 -0.1657)
OKLCHoklch(55.28% 0.212 308.7)
XYZxyz(25.5494, 14.6075, 59.8541)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640CE #78CE40
analogous
#4F40CE #9640CE #CE40BF
triadic
#9640CE #CE9640 #40CE96
tetradic
#9640CE #CE4F40 #78CE40 #40BFCE
square
#9640CE #CE4F40 #78CE40 #40BFCE
split-complementary
#9640CE #BFCE40 #40CE4F
monochromatic
#531E75 #752BA6 #9640CE #B171DA #CCA1E7

Accessibility & contrast

On white

5.36
#9640CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9640CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640CE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640CE#FFFFFF#000000##FFFFFF
##9640CE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D2
Deuteranopia (green-blind)
#216CCB
Tritanopia (blue-blind)
#8E5F82
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9640ce;
/* rgb */ color: rgb(150, 64, 206);
/* oklch */ color: oklch(55.3% 0.212 308.7);
Tailwind
colors: {
  custom: {
    50: '#b97bde',
    500: '#9640ce',
    950: '#000000',
  },
}
SCSS
$custom: #9640ce;
$custom-light: #b97bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9640ce",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 276.338,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55284,
    "c": 0.21242,
    "h": 308.7
  },
  "luminance": 0.14607
}

Semantic roles & 50–950 ramp

primary
#9640CE
secondary
#AED496
accent
#E24583
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9640CE

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

Preview Lab → · Contrast checker → · Palette generator →

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