#9640CB#9640CB

#9640CB is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.209 H 309.5°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#9640CB
RGBrgb(150, 64, 203)
HSLhsl(277, 57%, 52%)
HSVhsv(277, 68%, 80%)
CMYKcmyk(26.1%, 68.5%, 0%, 20.4%)
CIE-LABlab(44.89, 58.71, -57.10)
CIE-LCHlch(44.89, 81.89, 315.79°)
OKLaboklab(55.08% 0.1333 -0.1615)
OKLCHoklch(55.08% 0.209 309.5)
XYZxyz(25.1884, 14.4631, 57.9531)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9640CB #75CB40
analogous
#5040CB #9640CB #CB40BB
triadic
#9640CB #CB9640 #40CB96
tetradic
#9640CB #CB5040 #75CB40 #40BBCB
square
#9640CB #CB5040 #75CB40 #40BBCB
split-complementary
#9640CB #BBCB40 #40CB50
monochromatic
#521F72 #752CA2 #9640CB #B070D8 #CBA0E5

Accessibility & contrast

On white

5.39
#9640CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9640CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9640CB
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9640CB#FFFFFF#000000##FFFFFF
##9640CB1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#276BC8
Tritanopia (blue-blind)
#8E5E81
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9640cb;
/* rgb */ color: rgb(150, 64, 203);
/* oklch */ color: oklch(55.1% 0.209 309.5);
Tailwind
colors: {
  custom: {
    50: '#b97bdc',
    500: '#9640cb',
    950: '#000000',
  },
}
SCSS
$custom: #9640cb;
$custom-light: #b97bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9640cb",
  "rgb": {
    "r": 150,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 277.122,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55075,
    "c": 0.20942,
    "h": 309.5
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#9640CB
secondary
#ACD295
accent
#E04782
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9640CB

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

Preview Lab → · Contrast checker → · Palette generator →

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