#9645CC#9645CC

#9645CC is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.7% C 0.204 H 308.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9645CC
RGBrgb(150, 69, 204)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.5%, 66.2%, 0%, 20%)
CIE-LABlab(45.77, 56.66, -56.26)
CIE-LCHlch(45.77, 79.84, 315.20°)
OKLaboklab(55.73% 0.1278 -0.1591)
OKLCHoklch(55.73% 0.204 308.8)
XYZxyz(25.6027, 15.1003, 58.6809)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645CC #7BCC45
analogous
#5245CC #9645CC #CC45BE
triadic
#9645CC #CC9645 #45CC96
tetradic
#9645CC #CC5245 #7BCC45 #45BECC
square
#9645CC #CC5245 #7BCC45 #45BECC
split-complementary
#9645CC #BECC45 #45CC52
monochromatic
#542076 #762EA6 #9645CC #B175D9 #CCA5E6

Accessibility & contrast

On white

5.22
#9645CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9645CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645CC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645CC#FFFFFF#000000##FFFFFF
##9645CC1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D0
Deuteranopia (green-blind)
#2C6DC9
Tritanopia (blue-blind)
#8E6183
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9645cc;
/* rgb */ color: rgb(150, 69, 204);
/* oklch */ color: oklch(55.7% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#b97edc',
    500: '#9645cc',
    950: '#000000',
  },
}
SCSS
$custom: #9645cc;
$custom-light: #b97edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9645cc",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 276,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55728,
    "c": 0.20404,
    "h": 308.8
  },
  "luminance": 0.151
}

Semantic roles & 50–950 ramp

primary
#9645CC
secondary
#B1D399
accent
#E04885
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645CC

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

Preview Lab → · Contrast checker → · Palette generator →

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