#9646DB#9646DB

#9646DB is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.218 H 305.0°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9646DB
RGBrgb(150, 70, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.5%, 68%, 0%, 14.1%)
CIE-LABlab(46.95, 59.58, -62.96)
CIE-LCHlch(46.95, 86.68, 313.42°)
OKLaboklab(56.89% 0.1251 -0.1788)
OKLCHoklch(56.89% 0.218 305)
XYZxyz(27.5512, 15.9790, 68.6369)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646DB #8BDB46
analogous
#4C46DB #9646DB #DB46D5
triadic
#9646DB #DB9646 #46DB96
tetradic
#9646DB #DB4C46 #8BDB46 #46D5DB
square
#9646DB #DB4C46 #8BDB46 #46D5DB
split-complementary
#9646DB #D5DB46 #46DB4C
monochromatic
#571B8B #7825BF #9646DB #B379E5 #D0ACEF

Accessibility & contrast

On white

5.01
#9646DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9646DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646DB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646DB#FFFFFF#000000##FFFFFF
##9646DB1.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#0B6FD8
Tritanopia (blue-blind)
#89688B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9646db;
/* rgb */ color: rgb(150, 70, 219);
/* oklch */ color: oklch(56.9% 0.218 305.0);
Tailwind
colors: {
  custom: {
    50: '#ba7fe7',
    500: '#9646db',
    950: '#000000',
  },
}
SCSS
$custom: #9646db;
$custom-light: #ba7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9646db",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 219
  },
  "hsl": {
    "h": 272.215,
    "s": 67.421,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.21821,
    "h": 305
  },
  "luminance": 0.15979
}

Semantic roles & 50–950 ramp

primary
#9646DB
secondary
#BCDDA0
accent
#EA3D8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9646DB

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

Preview Lab → · Contrast checker → · Palette generator →

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