#9646D9#9646D9

#9646D9 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.216 H 305.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9646D9
RGBrgb(150, 70, 217)
HSLhsl(273, 66%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.9%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.81, 59.13, -62.04)
CIE-LCHlch(46.81, 85.70, 313.62°)
OKLaboklab(56.75% 0.1254 -0.1761)
OKLCHoklch(56.75% 0.216 305.4)
XYZxyz(27.2895, 15.8743, 67.2586)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646D9 #89D946
analogous
#4D46D9 #9646D9 #D946D3
triadic
#9646D9 #D99646 #46D996
tetradic
#9646D9 #D94D46 #89D946 #46D3D9
square
#9646D9 #D94D46 #89D946 #46D3D9
split-complementary
#9646D9 #D3D946 #46D94D
monochromatic
#571C89 #7726BB #9646D9 #B379E3 #D0ACEE

Accessibility & contrast

On white

5.03
#9646D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9646D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646D9
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646D9#FFFFFF#000000##FFFFFF
##9646D91.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#136FD6
Tritanopia (blue-blind)
#8A678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9646d9;
/* rgb */ color: rgb(150, 70, 217);
/* oklch */ color: oklch(56.7% 0.216 305.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fe6',
    500: '#9646d9',
    950: '#000000',
  },
}
SCSS
$custom: #9646d9;
$custom-light: #ba7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9646d9",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 272.653,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56748,
    "c": 0.21615,
    "h": 305.4
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#9646D9
secondary
#BBDC9F
accent
#E93F8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9646D9

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

Preview Lab → · Contrast checker → · Palette generator →

#9646D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva