#9647CA#9647CA

#9647CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 55.8% C 0.199 H 309.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9647CA
RGBrgb(150, 71, 202)
HSLhsl(276, 55%, 54%)
HSVhsv(276, 65%, 79%)
CMYKcmyk(25.7%, 64.9%, 0%, 20.8%)
CIE-LABlab(45.98, 55.27, -54.76)
CIE-LCHlch(45.98, 77.81, 315.27°)
OKLaboklab(55.84% 0.1257 -0.1547)
OKLCHoklch(55.84% 0.199 309.1)
XYZxyz(25.4895, 15.2552, 57.4674)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9647CA #7BCA47
analogous
#5447CA #9647CA #CA47BC
triadic
#9647CA #CA9647 #47CA96
tetradic
#9647CA #CA5447 #7BCA47 #47BCCA
square
#9647CA #CA5447 #7BCA47 #47BCCA
split-complementary
#9647CA #BCCA47 #47CA54
monochromatic
#542275 #762FA4 #9647CA #B177D8 #CCA6E5

Accessibility & contrast

On white

5.18
#9647CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9647CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9647CA
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9647CA#FFFFFF#000000##FFFFFF
##9647CA1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#326EC7
Tritanopia (blue-blind)
#8E6282
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9647ca;
/* rgb */ color: rgb(150, 71, 202);
/* oklch */ color: oklch(55.8% 0.199 309.1);
Tailwind
colors: {
  custom: {
    50: '#b97fdb',
    500: '#9647ca',
    950: '#000000',
  },
}
SCSS
$custom: #9647ca;
$custom-light: #b97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9647ca",
  "rgb": {
    "r": 150,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 276.183,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55838,
    "c": 0.19931,
    "h": 309.1
  },
  "luminance": 0.15255
}

Semantic roles & 50–950 ramp

primary
#9647CA
secondary
#B1D29A
accent
#DF4985
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9647CA

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

Preview Lab → · Contrast checker → · Palette generator →

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