#9646DC#9646DC

#9646DC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.219 H 304.8°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9646DC
RGBrgb(150, 70, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.8%, 68.2%, 0%, 13.7%)
CIE-LABlab(47.02, 59.81, -63.41)
CIE-LCHlch(47.02, 87.17, 313.33°)
OKLaboklab(56.96% 0.125 -0.1801)
OKLCHoklch(56.96% 0.219 304.8)
XYZxyz(27.6832, 16.0318, 69.3323)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646DC #8CDC46
analogous
#4B46DC #9646DC #DC46D7
triadic
#9646DC #DC9646 #46DC96
tetradic
#9646DC #DC4B46 #8CDC46 #46D7DC
square
#9646DC #DC4B46 #8CDC46 #46D7DC
split-complementary
#9646DC #D7DC46 #46DC4B
monochromatic
#581B8D #7824C0 #9646DC #B379E6 #D0ADEF

Accessibility & contrast

On white

4.99
#9646DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9646DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646DC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646DC#FFFFFF#000000##FFFFFF
##9646DC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE0
Deuteranopia (green-blind)
#0570D9
Tritanopia (blue-blind)
#89688C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9646dc;
/* rgb */ color: rgb(150, 70, 220);
/* oklch */ color: oklch(57.0% 0.219 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fe8',
    500: '#9646dc',
    950: '#000000',
  },
}
SCSS
$custom: #9646dc;
$custom-light: #ba7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#9646dc",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 272,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56962,
    "c": 0.21924,
    "h": 304.8
  },
  "luminance": 0.16032
}

Semantic roles & 50–950 ramp

primary
#9646DC
secondary
#BDDDA0
accent
#EB3D8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9646DC

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

Preview Lab → · Contrast checker → · Palette generator →

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