#9645DB#9645DB

#9645DB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.219 H 305.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9645DB
RGBrgb(150, 69, 219)
HSLhsl(272, 68%, 56%)
HSVhsv(272, 68%, 86%)
CMYKcmyk(31.5%, 68.5%, 0%, 14.1%)
CIE-LABlab(46.78, 60.04, -63.22)
CIE-LCHlch(46.78, 87.19, 313.52°)
OKLaboklab(56.77% 0.1261 -0.1796)
OKLCHoklch(56.77% 0.219 305.1)
XYZxyz(27.4891, 15.8549, 68.6162)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645DB #8ADB45
analogous
#4B45DB #9645DB #DB45D5
triadic
#9645DB #DB9645 #45DB96
tetradic
#9645DB #DB4B45 #8ADB45 #45D5DB
square
#9645DB #DB4B45 #8ADB45 #45D5DB
split-complementary
#9645DB #D5DB45 #45DB4B
monochromatic
#571B8B #7825BE #9645DB #B378E5 #D0ACEF

Accessibility & contrast

On white

5.03
#9645DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9645DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645DB
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645DB#FFFFFF#000000##FFFFFF
##9645DB1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDF
Deuteranopia (green-blind)
#066FD8
Tritanopia (blue-blind)
#89678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9645db;
/* rgb */ color: rgb(150, 69, 219);
/* oklch */ color: oklch(56.8% 0.219 305.1);
Tailwind
colors: {
  custom: {
    50: '#ba7fe7',
    500: '#9645db',
    950: '#000000',
  },
}
SCSS
$custom: #9645db;
$custom-light: #ba7fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#9645db",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 219
  },
  "hsl": {
    "h": 272.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56774,
    "c": 0.21943,
    "h": 305.1
  },
  "luminance": 0.15855
}

Semantic roles & 50–950 ramp

primary
#9645DB
secondary
#BBDD9F
accent
#EA3D8D
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9645DB

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

Preview Lab → · Contrast checker → · Palette generator →

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