#9640CF#9640CF

#9640CF is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.213 H 308.5°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9640CF
RGBrgb(150, 64, 207)
HSLhsl(276, 60%, 53%)
HSVhsv(276, 69%, 81%)
CMYKcmyk(27.5%, 69.1%, 0%, 18.8%)
CIE-LABlab(45.16, 59.58, -58.97)
CIE-LCHlch(45.16, 83.83, 315.30°)
OKLaboklab(55.35% 0.1328 -0.167)
OKLCHoklch(55.35% 0.213 308.5)
XYZxyz(25.6713, 14.6562, 60.4960)
Luminance0.1466 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640CF #79CF40
analogous
#4E40CF #9640CF #CF40C0
triadic
#9640CF #CF9640 #40CF96
tetradic
#9640CF #CF4E40 #79CF40 #40C0CF
square
#9640CF #CF4E40 #79CF40 #40C0CF
split-complementary
#9640CF #C0CF40 #40CF4E
monochromatic
#531E77 #762AA8 #9640CF #B171DB #CCA2E8

Accessibility & contrast

On white

5.34
#9640CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9640CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640CF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640CF#FFFFFF#000000##FFFFFF
##9640CF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D3
Deuteranopia (green-blind)
#1F6CCC
Tritanopia (blue-blind)
#8D6083
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9640cf;
/* rgb */ color: rgb(150, 64, 207);
/* oklch */ color: oklch(55.4% 0.213 308.5);
Tailwind
colors: {
  custom: {
    50: '#b97bde',
    500: '#9640cf',
    950: '#000000',
  },
}
SCSS
$custom: #9640cf;
$custom-light: #b97bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9640cf",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 276.084,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55353,
    "c": 0.21342,
    "h": 308.5
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#9640CF
secondary
#AFD497
accent
#E34584
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9640CF

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

Preview Lab → · Contrast checker → · Palette generator →

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