#9646D8#9646D8

#9646D8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.7% C 0.215 H 305.7°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9646D8
RGBrgb(150, 70, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.6%, 67.6%, 0%, 15.3%)
CIE-LABlab(46.74, 58.90, -61.58)
CIE-LCHlch(46.74, 85.21, 313.73°)
OKLaboklab(56.68% 0.1255 -0.1747)
OKLCHoklch(56.68% 0.215 305.7)
XYZxyz(27.1598, 15.8224, 66.5757)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9646D8 #88D846
analogous
#4D46D8 #9646D8 #D846D1
triadic
#9646D8 #D89646 #46D896
tetradic
#9646D8 #D84D46 #88D846 #46D1D8
square
#9646D8 #D84D46 #88D846 #46D1D8
split-complementary
#9646D8 #D1D846 #46D84D
monochromatic
#571C87 #7727BA #9646D8 #B379E3 #CFABED

Accessibility & contrast

On white

5.04
#9646D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9646D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9646D8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9646D8#FFFFFF#000000##FFFFFF
##9646D81.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#166FD5
Tritanopia (blue-blind)
#8A678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9646d8;
/* rgb */ color: rgb(150, 70, 216);
/* oklch */ color: oklch(56.7% 0.215 305.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fe5',
    500: '#9646d8',
    950: '#000000',
  },
}
SCSS
$custom: #9646d8;
$custom-light: #ba7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9646d8",
  "rgb": {
    "r": 150,
    "g": 70,
    "b": 216
  },
  "hsl": {
    "h": 272.877,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56678,
    "c": 0.21511,
    "h": 305.7
  },
  "luminance": 0.15822
}

Semantic roles & 50–950 ramp

primary
#9646D8
secondary
#BADB9F
accent
#E8408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9646D8

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

Preview Lab → · Contrast checker → · Palette generator →

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