#9645BF#9645BF

#9645BF is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.9% C 0.191 H 312.4°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9645BF
RGBrgb(150, 69, 191)
HSLhsl(280, 49%, 51%)
HSVhsv(280, 64%, 75%)
CMYKcmyk(21.5%, 63.9%, 0%, 25.1%)
CIE-LABlab(44.95, 53.81, -50.05)
CIE-LCHlch(44.95, 73.49, 317.07°)
OKLaboklab(54.87% 0.1285 -0.1409)
OKLCHoklch(54.87% 0.191 312.4)
XYZxyz(24.1081, 14.5025, 50.8094)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645BF #6EBF45
analogous
#5945BF #9645BF #BF45AB
triadic
#9645BF #BF9645 #45BF96
tetradic
#9645BF #BF5945 #6EBF45 #45ABBF
square
#9645BF #BF5945 #6EBF45 #45ABBF
split-complementary
#9645BF #ABBF45 #45BF59
monochromatic
#502366 #733394 #9645BF #B073CF #C9A0DE

Accessibility & contrast

On white

5.38
#9645BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9645BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645BF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645BF#FFFFFF#000000##FFFFFF
##9645BF1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0866C3
Deuteranopia (green-blind)
#3C6CBC
Tritanopia (blue-blind)
#915D7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9645bf;
/* rgb */ color: rgb(150, 69, 191);
/* oklch */ color: oklch(54.9% 0.191 312.4);
Tailwind
colors: {
  custom: {
    50: '#b87ed3',
    500: '#9645bf',
    950: '#000000',
  },
}
SCSS
$custom: #9645bf;
$custom-light: #b87ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9645bf",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 279.836,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54869,
    "c": 0.19072,
    "h": 312.4
  },
  "luminance": 0.14502
}

Semantic roles & 50–950 ramp

primary
#9645BF
secondary
#A7CB95
accent
#D84F7D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9645BF

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

Preview Lab → · Contrast checker → · Palette generator →

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