#9645C8#9645C8

#9645C8 is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.5% C 0.200 H 309.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9645C8
RGBrgb(150, 69, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 66%, 78%)
CMYKcmyk(25%, 65.5%, 0%, 21.6%)
CIE-LABlab(45.51, 55.77, -54.36)
CIE-LCHlch(45.51, 77.88, 315.73°)
OKLaboklab(55.46% 0.1281 -0.1535)
OKLCHoklch(55.46% 0.2 309.8)
XYZxyz(25.1291, 14.9109, 56.1867)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645C8 #77C845
analogous
#5445C8 #9645C8 #C845B9
triadic
#9645C8 #C89645 #45C896
tetradic
#9645C8 #C85445 #77C845 #45B9C8
square
#9645C8 #C85445 #77C845 #45B9C8
split-complementary
#9645C8 #B9C845 #45C854
monochromatic
#532171 #752FA0 #9645C8 #B174D6 #CBA3E4

Accessibility & contrast

On white

5.27
#9645C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#9645C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645C8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645C8#FFFFFF#000000##FFFFFF
##9645C81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#326DC5
Tritanopia (blue-blind)
#8F6081
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9645c8;
/* rgb */ color: rgb(150, 69, 200);
/* oklch */ color: oklch(55.5% 0.200 309.8);
Tailwind
colors: {
  custom: {
    50: '#b97ed9',
    500: '#9645c8',
    950: '#000000',
  },
}
SCSS
$custom: #9645c8;
$custom-light: #b97ed9;
$custom-dark: #000000;
JSON
{
  "hex": "#9645c8",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 277.099,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.19993,
    "h": 309.8
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#9645C8
secondary
#AED198
accent
#DE4A82
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645C8

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

Preview Lab → · Contrast checker → · Palette generator →

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