#9645D3#9645D3

#9645D3 is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.2% C 0.211 H 307.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9645D3
RGBrgb(150, 69, 211)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(28.9%, 67.3%, 0%, 17.3%)
CIE-LABlab(46.24, 58.22, -59.53)
CIE-LCHlch(46.24, 83.27, 314.36°)
OKLaboklab(56.21% 0.1271 -0.1687)
OKLCHoklch(56.21% 0.211 307)
XYZxyz(26.4612, 15.4437, 63.2023)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645D3 #82D345
analogous
#4F45D3 #9645D3 #D345C9
triadic
#9645D3 #D39645 #45D396
tetradic
#9645D3 #D34F45 #82D345 #45C9D3
square
#9645D3 #D34F45 #82D345 #45C9D3
split-complementary
#9645D3 #C9D345 #45D34F
monochromatic
#561E7F #772AB1 #9645D3 #B276DF #CEA8EA

Accessibility & contrast

On white

5.14
#9645D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9645D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645D3
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645D3#FFFFFF#000000##FFFFFF
##9645D31.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#206ED0
Tritanopia (blue-blind)
#8C6487
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9645d3;
/* rgb */ color: rgb(150, 69, 211);
/* oklch */ color: oklch(56.2% 0.211 307.0);
Tailwind
colors: {
  custom: {
    50: '#b97ee1',
    500: '#9645d3',
    950: '#000000',
  },
}
SCSS
$custom: #9645d3;
$custom-light: #b97ee1;
$custom-dark: #000000;
JSON
{
  "hex": "#9645d3",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 211
  },
  "hsl": {
    "h": 274.225,
    "s": 61.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.21123,
    "h": 307
  },
  "luminance": 0.15443
}

Semantic roles & 50–950 ramp

primary
#9645D3
secondary
#B6D89C
accent
#E54389
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645D3

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

Preview Lab → · Contrast checker → · Palette generator →

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