#9645CD#9645CD

#9645CD is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.8% C 0.205 H 308.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9645CD
RGBrgb(150, 69, 205)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.8%, 66.3%, 0%, 19.6%)
CIE-LABlab(45.84, 56.88, -56.73)
CIE-LCHlch(45.84, 80.33, 315.08°)
OKLaboklab(55.8% 0.1277 -0.1605)
OKLCHoklch(55.8% 0.205 308.5)
XYZxyz(25.7230, 15.1485, 59.3146)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645CD #7CCD45
analogous
#5245CD #9645CD #CD45C0
triadic
#9645CD #CD9645 #45CD96
tetradic
#9645CD #CD5245 #7CCD45 #45C0CD
square
#9645CD #CD5245 #7CCD45 #45C0CD
split-complementary
#9645CD #C0CD45 #45CD52
monochromatic
#542077 #762DA8 #9645CD #B175DA #CCA5E7

Accessibility & contrast

On white

5.21
#9645CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9645CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645CD
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645CD#FFFFFF#000000##FFFFFF
##9645CD1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#2B6DCA
Tritanopia (blue-blind)
#8E6283
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9645cd;
/* rgb */ color: rgb(150, 69, 205);
/* oklch */ color: oklch(55.8% 0.205 308.5);
Tailwind
colors: {
  custom: {
    50: '#b97edd',
    500: '#9645cd',
    950: '#000000',
  },
}
SCSS
$custom: #9645cd;
$custom-light: #b97edd;
$custom-dark: #000000;
JSON
{
  "hex": "#9645cd",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 275.735,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55796,
    "c": 0.20507,
    "h": 308.5
  },
  "luminance": 0.15148
}

Semantic roles & 50–950 ramp

primary
#9645CD
secondary
#B1D49A
accent
#E14785
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645CD

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

Preview Lab → · Contrast checker → · Palette generator →

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