#9647DC#9647DC

#9647DC is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.1% C 0.218 H 304.6°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9647DC
RGBrgb(150, 71, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.8%, 67.7%, 0%, 13.7%)
CIE-LABlab(47.18, 59.35, -63.15)
CIE-LCHlch(47.18, 86.66, 313.23°)
OKLaboklab(57.08% 0.1239 -0.1793)
OKLCHoklch(57.08% 0.218 304.6)
XYZxyz(27.7463, 16.1579, 69.3533)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647DC #8DDC47
analogous
#4C47DC #9647DC #DC47D8
triadic
#9647DC #DC9647 #47DC96
tetradic
#9647DC #DC4C47 #8DDC47 #47D8DC
square
#9647DC #DC4C47 #8DDC47 #47D8DC
split-complementary
#9647DC #D8DC47 #47DC4C
monochromatic
#581B8E #7825C1 #9647DC #B37AE6 #D1AEF0

Accessibility & contrast

On white

4.96
#9647DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9647DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647DC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647DC#FFFFFF#000000##FFFFFF
##9647DC1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE0
Deuteranopia (green-blind)
#0A70D9
Tritanopia (blue-blind)
#89698C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9647dc;
/* rgb */ color: rgb(150, 71, 220);
/* oklch */ color: oklch(57.1% 0.218 304.6);
Tailwind
colors: {
  custom: {
    50: '#ba80e8',
    500: '#9647dc',
    950: '#000000',
  },
}
SCSS
$custom: #9647dc;
$custom-light: #ba80e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9647dc",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 271.812,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5708,
    "c": 0.218,
    "h": 304.6
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#9647DC
secondary
#BEDEA1
accent
#EB3D8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647DC

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

Preview Lab → · Contrast checker → · Palette generator →

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