#9645D8#9645D8

#9645D8 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.6% C 0.216 H 305.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9645D8
RGBrgb(150, 69, 216)
HSLhsl(273, 65%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.6%, 68.1%, 0%, 15.3%)
CIE-LABlab(46.58, 59.35, -61.84)
CIE-LCHlch(46.58, 85.72, 313.82°)
OKLaboklab(56.56% 0.1265 -0.1755)
OKLCHoklch(56.56% 0.216 305.8)
XYZxyz(27.0978, 15.6984, 66.5550)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645D8 #87D845
analogous
#4C45D8 #9645D8 #D845D0
triadic
#9645D8 #D89645 #45D896
tetradic
#9645D8 #D84C45 #87D845 #45D0D8
square
#9645D8 #D84C45 #87D845 #45D0D8
split-complementary
#9645D8 #D0D845 #45D84C
monochromatic
#571C86 #7727B9 #9645D8 #B378E3 #CFAAED

Accessibility & contrast

On white

5.07
#9645D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9645D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645D8
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645D8#FFFFFF#000000##FFFFFF
##9645D81.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#8A6689
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9645d8;
/* rgb */ color: rgb(150, 69, 216);
/* oklch */ color: oklch(56.6% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fe5',
    500: '#9645d8',
    950: '#000000',
  },
}
SCSS
$custom: #9645d8;
$custom-light: #ba7fe5;
$custom-dark: #000000;
JSON
{
  "hex": "#9645d8",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 216
  },
  "hsl": {
    "h": 273.061,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.5656,
    "c": 0.21635,
    "h": 305.8
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#9645D8
secondary
#B9DB9E
accent
#E8408B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9645D8

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

Preview Lab → · Contrast checker → · Palette generator →

#9645D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva