#9647D9#9647D9

#9647D9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.215 H 305.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9647D9
RGBrgb(150, 71, 217)
HSLhsl(272, 66%, 56%)
HSVhsv(272, 67%, 85%)
CMYKcmyk(30.9%, 67.3%, 0%, 14.9%)
CIE-LABlab(46.98, 58.66, -61.77)
CIE-LCHlch(46.98, 85.19, 313.52°)
OKLaboklab(56.87% 0.1243 -0.1753)
OKLCHoklch(56.87% 0.215 305.3)
XYZxyz(27.3525, 16.0004, 67.2796)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647D9 #8AD947
analogous
#4D47D9 #9647D9 #D947D3
triadic
#9647D9 #D99647 #47D996
tetradic
#9647D9 #D94D47 #8AD947 #47D3D9
square
#9647D9 #D94D47 #8AD947 #47D3D9
split-complementary
#9647D9 #D3D947 #47D94D
monochromatic
#571C89 #7827BC #9647D9 #B37AE3 #D0ACEE

Accessibility & contrast

On white

5.00
#9647D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9647D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647D9
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647D9#FFFFFF#000000##FFFFFF
##9647D91.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#1670D6
Tritanopia (blue-blind)
#8A688A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9647d9;
/* rgb */ color: rgb(150, 71, 217);
/* oklch */ color: oklch(56.9% 0.215 305.3);
Tailwind
colors: {
  custom: {
    50: '#ba80e6',
    500: '#9647d9',
    950: '#000000',
  },
}
SCSS
$custom: #9647d9;
$custom-light: #ba80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9647d9",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 272.466,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56867,
    "c": 0.2149,
    "h": 305.3
  },
  "luminance": 0.16
}

Semantic roles & 50–950 ramp

primary
#9647D9
secondary
#BBDCA0
accent
#E93F8D
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647D9

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

Preview Lab → · Contrast checker → · Palette generator →

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