#9647E4#9647E4

#9647E4 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.226 H 302.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#9647E4
RGBrgb(150, 71, 228)
HSLhsl(270, 74%, 59%)
HSVhsv(270, 69%, 89%)
CMYKcmyk(34.2%, 68.9%, 0%, 10.6%)
CIE-LABlab(47.74, 61.20, -66.78)
CIE-LCHlch(47.74, 90.59, 312.50°)
OKLaboklab(57.66% 0.1229 -0.19)
OKLCHoklch(57.66% 0.226 302.9)
XYZxyz(28.8312, 16.5919, 75.0674)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647E4 #95E447
analogous
#4747E4 #9647E4 #E447E4
triadic
#9647E4 #E49647 #47E496
tetradic
#9647E4 #E44747 #95E447 #47E4E4
square
#9647E4 #E44747 #95E447 #47E4E4
split-complementary
#9647E4 #E4E447 #47E447
monochromatic
#59179A #771ECF #9647E4 #B47CEC #D3B2F4

Accessibility & contrast

On white

4.86
#9647E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9647E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647E4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647E4#FFFFFF#000000##FFFFFF
##9647E41.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0071E1
Tritanopia (blue-blind)
#866C90
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9647e4;
/* rgb */ color: rgb(150, 71, 228);
/* oklch */ color: oklch(57.7% 0.226 302.9);
Tailwind
colors: {
  custom: {
    50: '#bb80ed',
    500: '#9647e4',
    950: '#000000',
  },
}
SCSS
$custom: #9647e4;
$custom-light: #bb80ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9647e4",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 270.191,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57657,
    "c": 0.22629,
    "h": 302.9
  },
  "luminance": 0.16592
}

Semantic roles & 50–950 ramp

primary
#9647E4
secondary
#C3E2A4
accent
#F13793
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9647E4

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

Preview Lab → · Contrast checker → · Palette generator →

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