#9647E2#9647E2

#9647E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.224 H 303.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9647E2
RGBrgb(150, 71, 226)
HSLhsl(271, 73%, 58%)
HSVhsv(271, 69%, 89%)
CMYKcmyk(33.6%, 68.6%, 0%, 11.4%)
CIE-LABlab(47.60, 60.74, -65.88)
CIE-LCHlch(47.60, 89.61, 312.68°)
OKLaboklab(57.51% 0.1231 -0.1874)
OKLCHoklch(57.51% 0.224 303.3)
XYZxyz(28.5552, 16.4815, 73.6136)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647E2 #93E247
analogous
#4847E2 #9647E2 #E247E0
triadic
#9647E2 #E29647 #47E296
tetradic
#9647E2 #E24847 #93E247 #47E0E2
square
#9647E2 #E24847 #93E247 #47E0E2
split-complementary
#9647E2 #E0E247 #47E248
monochromatic
#591897 #7820CC #9647E2 #B47CEA #D2B1F3

Accessibility & contrast

On white

4.89
#9647E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9647E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647E2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647E2#FFFFFF#000000##FFFFFF
##9647E21.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#876B8F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9647e2;
/* rgb */ color: rgb(150, 71, 226);
/* oklch */ color: oklch(57.5% 0.224 303.3);
Tailwind
colors: {
  custom: {
    50: '#ba80ec',
    500: '#9647e2',
    950: '#000000',
  },
}
SCSS
$custom: #9647e2;
$custom-light: #ba80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9647e2",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 270.581,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57511,
    "c": 0.22422,
    "h": 303.3
  },
  "luminance": 0.16481
}

Semantic roles & 50–950 ramp

primary
#9647E2
secondary
#C2E1A4
accent
#EF3892
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647E2

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

Preview Lab → · Contrast checker → · Palette generator →

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