#9647CC#9647CC

#9647CC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.201 H 308.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9647CC
RGBrgb(150, 71, 204)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(26.5%, 65.2%, 0%, 20%)
CIE-LABlab(46.11, 55.72, -55.71)
CIE-LCHlch(46.11, 78.79, 315.01°)
OKLaboklab(55.97% 0.1255 -0.1575)
OKLCHoklch(55.97% 0.201 308.6)
XYZxyz(25.7278, 15.3506, 58.7226)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647CC #7DCC47
analogous
#5447CC #9647CC #CC47C0
triadic
#9647CC #CC9647 #47CC96
tetradic
#9647CC #CC5447 #7DCC47 #47C0CC
square
#9647CC #CC5447 #7DCC47 #47C0CC
split-complementary
#9647CC #C0CC47 #47CC54
monochromatic
#542177 #762EA7 #9647CC #B177D9 #CDA7E7

Accessibility & contrast

On white

5.16
#9647CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9647CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647CC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647CC#FFFFFF#000000##FFFFFF
##9647CC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#8E6383
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9647cc;
/* rgb */ color: rgb(150, 71, 204);
/* oklch */ color: oklch(56.0% 0.201 308.6);
Tailwind
colors: {
  custom: {
    50: '#b97fdc',
    500: '#9647cc',
    950: '#000000',
  },
}
SCSS
$custom: #9647cc;
$custom-light: #b97fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9647cc",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 275.639,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.20139,
    "h": 308.6
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#9647CC
secondary
#B2D49B
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9647CC

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

Preview Lab → · Contrast checker → · Palette generator →

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