#9647D8#9647D8

#9647D8 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.214 H 305.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9647D8
RGBrgb(150, 71, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 67%, 85%)
CMYKcmyk(30.6%, 67.1%, 0%, 15.3%)
CIE-LABlab(46.91, 58.44, -61.31)
CIE-LCHlch(46.91, 84.70, 313.62°)
OKLaboklab(56.8% 0.1244 -0.1739)
OKLCHoklch(56.8% 0.214 305.6)
XYZxyz(27.2229, 15.9486, 66.5967)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647D8 #89D847
analogous
#4E47D8 #9647D8 #D847D1
triadic
#9647D8 #D89647 #47D896
tetradic
#9647D8 #D84E47 #89D847 #47D1D8
square
#9647D8 #D84E47 #89D847 #47D1D8
split-complementary
#9647D8 #D1D847 #47D84E
monochromatic
#571D88 #7727BA #9647D8 #B379E3 #D0ACED

Accessibility & contrast

On white

5.01
#9647D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9647D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647D8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647D8#FFFFFF#000000##FFFFFF
##9647D81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9647d8;
/* rgb */ color: rgb(150, 71, 216);
/* oklch */ color: oklch(56.8% 0.214 305.6);
Tailwind
colors: {
  custom: {
    50: '#ba80e5',
    500: '#9647d8',
    950: '#000000',
  },
}
SCSS
$custom: #9647d8;
$custom-light: #ba80e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9647d8",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 272.69,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56797,
    "c": 0.21386,
    "h": 305.6
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#9647D8
secondary
#BBDBA0
accent
#E8408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647D8

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

Preview Lab → · Contrast checker → · Palette generator →

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