#9640DF#9640DF

#9640DF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.5% C 0.229 H 304.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9640DF
RGBrgb(150, 64, 223)
HSLhsl(272, 71%, 56%)
HSVhsv(272, 71%, 87%)
CMYKcmyk(32.7%, 71.3%, 0%, 12.5%)
CIE-LABlab(46.28, 63.15, -66.31)
CIE-LCHlch(46.28, 91.57, 313.60°)
OKLaboklab(56.51% 0.1305 -0.1886)
OKLCHoklch(56.51% 0.229 304.7)
XYZxyz(27.7273, 15.4787, 71.3247)
Luminance0.1548 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640DF #89DF40
analogous
#4740DF #9640DF #DF40D8
triadic
#9640DF #DF9640 #40DF96
tetradic
#9640DF #DF4740 #89DF40 #40D8DF
square
#9640DF #DF4740 #89DF40 #40D8DF
split-complementary
#9640DF #D8DF40 #40DF47
monochromatic
#57188D #7720C1 #9640DF #B374E8 #D0A9F1

Accessibility & contrast

On white

5.13
#9640DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9640DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640DF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640DF#FFFFFF#000000##FFFFFF
##9640DF1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#006EDC
Tritanopia (blue-blind)
#88668C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9640df;
/* rgb */ color: rgb(150, 64, 223);
/* oklch */ color: oklch(56.5% 0.229 304.7);
Tailwind
colors: {
  custom: {
    50: '#bb7cea',
    500: '#9640df',
    950: '#000000',
  },
}
SCSS
$custom: #9640df;
$custom-light: #bb7cea;
$custom-dark: #000000;
JSON
{
  "hex": "#9640df",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 272.453,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56507,
    "c": 0.22935,
    "h": 304.7
  },
  "luminance": 0.15479
}

Semantic roles & 50–950 ramp

primary
#9640DF
secondary
#BBDE9D
accent
#EE3A8D
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9640DF

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

Preview Lab → · Contrast checker → · Palette generator →

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