#9645D4#9645D4

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

Color values

HEX#9645D4
RGBrgb(150, 69, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(29.2%, 67.5%, 0%, 16.9%)
CIE-LABlab(46.30, 58.45, -60.00)
CIE-LCHlch(46.30, 83.76, 314.25°)
OKLaboklab(56.28% 0.127 -0.1701)
OKLCHoklch(56.28% 0.212 306.7)
XYZxyz(26.5869, 15.4940, 63.8646)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645D4 #83D445
analogous
#4F45D4 #9645D4 #D445CA
triadic
#9645D4 #D49645 #45D496
tetradic
#9645D4 #D44F45 #83D445 #45CAD4
square
#9645D4 #D44F45 #83D445 #45CAD4
split-complementary
#9645D4 #CAD445 #45D44F
monochromatic
#561E81 #7729B3 #9645D4 #B277DF #CEA8EB

Accessibility & contrast

On white

5.12
#9645D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9645D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645D4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645D4#FFFFFF#000000##FFFFFF
##9645D41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#1E6ED1
Tritanopia (blue-blind)
#8C6487
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9645d4;
/* rgb */ color: rgb(150, 69, 212);
/* oklch */ color: oklch(56.3% 0.212 306.7);
Tailwind
colors: {
  custom: {
    50: '#b97ee2',
    500: '#9645d4',
    950: '#000000',
  },
}
SCSS
$custom: #9645d4;
$custom-light: #b97ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#9645d4",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 212
  },
  "hsl": {
    "h": 273.986,
    "s": 62.445,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.21225,
    "h": 306.7
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#9645D4
secondary
#B6D89C
accent
#E64289
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645D4

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

Preview Lab → · Contrast checker → · Palette generator →

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