#9647E1#9647E1

#9647E1 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.223 H 303.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#9647E1
RGBrgb(150, 71, 225)
HSLhsl(271, 72%, 58%)
HSVhsv(271, 68%, 88%)
CMYKcmyk(33.3%, 68.4%, 0%, 11.8%)
CIE-LABlab(47.53, 60.51, -65.43)
CIE-LCHlch(47.53, 89.12, 312.76°)
OKLaboklab(57.44% 0.1233 -0.186)
OKLCHoklch(57.44% 0.223 303.5)
XYZxyz(28.4184, 16.4268, 72.8931)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647E1 #92E147
analogous
#4947E1 #9647E1 #E147DF
triadic
#9647E1 #E19647 #47E196
tetradic
#9647E1 #E14947 #92E147 #47DFE1
square
#9647E1 #E14947 #92E147 #47DFE1
split-complementary
#9647E1 #DFE147 #47E149
monochromatic
#581895 #7821CA #9647E1 #B47CEA #D2B0F2

Accessibility & contrast

On white

4.90
#9647E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9647E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647E1
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647E1#FFFFFF#000000##FFFFFF
##9647E11.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#876B8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9647e1;
/* rgb */ color: rgb(150, 71, 225);
/* oklch */ color: oklch(57.4% 0.223 303.5);
Tailwind
colors: {
  custom: {
    50: '#ba80eb',
    500: '#9647e1',
    950: '#000000',
  },
}
SCSS
$custom: #9647e1;
$custom-light: #ba80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9647e1",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 270.779,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57439,
    "c": 0.22319,
    "h": 303.5
  },
  "luminance": 0.16427
}

Semantic roles & 50–950 ramp

primary
#9647E1
secondary
#C1E1A3
accent
#EF3992
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647E1

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

Preview Lab → · Contrast checker → · Palette generator →

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