#9645D5#9645D5

#9645D5 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.3% C 0.213 H 306.5°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9645D5
RGBrgb(150, 69, 213)
HSLhsl(274, 63%, 55%)
HSVhsv(274, 68%, 84%)
CMYKcmyk(29.6%, 67.6%, 0%, 16.5%)
CIE-LABlab(46.37, 58.68, -60.46)
CIE-LCHlch(46.37, 84.25, 314.14°)
OKLaboklab(56.35% 0.1269 -0.1714)
OKLCHoklch(56.35% 0.213 306.5)
XYZxyz(26.7135, 15.5446, 64.5310)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645D5 #84D545
analogous
#4E45D5 #9645D5 #D545CC
triadic
#9645D5 #D59645 #45D596
tetradic
#9645D5 #D54E45 #84D545 #45CCD5
square
#9645D5 #D54E45 #84D545 #45CCD5
split-complementary
#9645D5 #CCD545 #45D54E
monochromatic
#561D82 #7729B4 #9645D5 #B277E0 #CEA9EC

Accessibility & contrast

On white

5.11
#9645D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9645D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645D5
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645D5#FFFFFF#000000##FFFFFF
##9645D51.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#8B6588
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9645d5;
/* rgb */ color: rgb(150, 69, 213);
/* oklch */ color: oklch(56.3% 0.213 306.5);
Tailwind
colors: {
  custom: {
    50: '#ba7ee3',
    500: '#9645d5',
    950: '#000000',
  },
}
SCSS
$custom: #9645d5;
$custom-light: #ba7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#9645d5",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 213
  },
  "hsl": {
    "h": 273.75,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56349,
    "c": 0.21328,
    "h": 306.5
  },
  "luminance": 0.15544
}

Semantic roles & 50–950 ramp

primary
#9645D5
secondary
#B7D99D
accent
#E6428A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9645D5

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

Preview Lab → · Contrast checker → · Palette generator →

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