#9647DF#9647DF

#9647DF is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.221 H 304.0°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9647DF
RGBrgb(150, 71, 223)
HSLhsl(271, 70%, 58%)
HSVhsv(271, 68%, 87%)
CMYKcmyk(32.7%, 68.2%, 0%, 12.5%)
CIE-LABlab(47.39, 60.04, -64.52)
CIE-LCHlch(47.39, 88.14, 312.94°)
OKLaboklab(57.29% 0.1236 -0.1834)
OKLCHoklch(57.29% 0.221 304)
XYZxyz(28.1472, 16.3183, 71.4646)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647DF #90DF47
analogous
#4A47DF #9647DF #DF47DC
triadic
#9647DF #DF9647 #47DF96
tetradic
#9647DF #DF4A47 #90DF47 #47DCDF
square
#9647DF #DF4A47 #90DF47 #47DCDF
split-complementary
#9647DF #DCDF47 #47DF4A
monochromatic
#581992 #7822C6 #9647DF #B47BE8 #D1AFF1

Accessibility & contrast

On white

4.93
#9647DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9647DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647DF
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647DF#FFFFFF#000000##FFFFFF
##9647DF1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#886A8E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9647df;
/* rgb */ color: rgb(150, 71, 223);
/* oklch */ color: oklch(57.3% 0.221 304.0);
Tailwind
colors: {
  custom: {
    50: '#ba80ea',
    500: '#9647df',
    950: '#000000',
  },
}
SCSS
$custom: #9647df;
$custom-light: #ba80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9647df",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 223
  },
  "hsl": {
    "h": 271.184,
    "s": 70.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57294,
    "c": 0.22112,
    "h": 304
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#9647DF
secondary
#C0DFA2
accent
#ED3B90
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647DF

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

Preview Lab → · Contrast checker → · Palette generator →

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