#9647C8#9647C8

#9647C8 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.7% C 0.197 H 309.6°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9647C8
RGBrgb(150, 71, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 65%, 78%)
CMYKcmyk(25%, 64.5%, 0%, 21.6%)
CIE-LABlab(45.85, 54.83, -53.81)
CIE-LCHlch(45.85, 76.83, 315.54°)
OKLaboklab(55.71% 0.1258 -0.1519)
OKLCHoklch(55.71% 0.197 309.6)
XYZxyz(25.2542, 15.1611, 56.2284)
Luminance0.1516 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647C8 #79C847
analogous
#5547C8 #9647C8 #C847BA
triadic
#9647C8 #C89647 #47C896
tetradic
#9647C8 #C85547 #79C847 #47BAC8
square
#9647C8 #C85547 #79C847 #47BAC8
split-complementary
#9647C8 #BAC847 #47C855
monochromatic
#532272 #7630A2 #9647C8 #B176D6 #CCA5E4

Accessibility & contrast

On white

5.21
#9647C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9647C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647C8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647C8#FFFFFF#000000##FFFFFF
##9647C81.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#8F6181
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9647c8;
/* rgb */ color: rgb(150, 71, 200);
/* oklch */ color: oklch(55.7% 0.197 309.6);
Tailwind
colors: {
  custom: {
    50: '#b97fd9',
    500: '#9647c8',
    950: '#000000',
  },
}
SCSS
$custom: #9647c8;
$custom-light: #b97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9647c8",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 276.744,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55705,
    "c": 0.19724,
    "h": 309.6
  },
  "luminance": 0.15161
}

Semantic roles & 50–950 ramp

primary
#9647C8
secondary
#AFD19A
accent
#DD4A83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9647C8

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

Preview Lab → · Contrast checker → · Palette generator →

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