#9645CB#9645CB

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

Color values

HEX#9645CB
RGBrgb(150, 69, 203)
HSLhsl(276, 56%, 53%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26.1%, 66%, 0%, 20.4%)
CIE-LABlab(45.71, 56.44, -55.78)
CIE-LCHlch(45.71, 79.35, 315.33°)
OKLaboklab(55.66% 0.1278 -0.1577)
OKLCHoklch(55.66% 0.203 309)
XYZxyz(25.4831, 15.0525, 58.0513)
Luminance0.1505 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645CB #7ACB45
analogous
#5345CB #9645CB #CB45BD
triadic
#9645CB #CB9645 #45CB96
tetradic
#9645CB #CB5345 #7ACB45 #45BDCB
square
#9645CB #CB5345 #7ACB45 #45BDCB
split-complementary
#9645CB #BDCB45 #45CB53
monochromatic
#542175 #762EA5 #9645CB #B175D8 #CCA5E6

Accessibility & contrast

On white

5.24
#9645CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#9645CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645CB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645CB#FFFFFF#000000##FFFFFF
##9645CB1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#2E6DC8
Tritanopia (blue-blind)
#8E6182
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9645cb;
/* rgb */ color: rgb(150, 69, 203);
/* oklch */ color: oklch(55.7% 0.203 309.0);
Tailwind
colors: {
  custom: {
    50: '#b97edc',
    500: '#9645cb',
    950: '#000000',
  },
}
SCSS
$custom: #9645cb;
$custom-light: #b97edc;
$custom-dark: #000000;
JSON
{
  "hex": "#9645cb",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 276.269,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5566,
    "c": 0.20302,
    "h": 309
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

primary
#9645CB
secondary
#B0D399
accent
#E04884
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645CB

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

Preview Lab → · Contrast checker → · Palette generator →

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