#9645DF#9645DF

#9645DF is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.224 H 304.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9645DF
RGBrgb(150, 69, 223)
HSLhsl(272, 71%, 57%)
HSVhsv(272, 69%, 87%)
CMYKcmyk(32.7%, 69.1%, 0%, 12.5%)
CIE-LABlab(47.06, 60.95, -65.05)
CIE-LCHlch(47.06, 89.14, 313.14°)
OKLaboklab(57.06% 0.1256 -0.1849)
OKLCHoklch(57.06% 0.224 304.2)
XYZxyz(28.0220, 16.0681, 71.4229)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645DF #8EDF45
analogous
#4945DF #9645DF #DF45DB
triadic
#9645DF #DF9645 #45DF96
tetradic
#9645DF #DF4945 #8EDF45 #45DBDF
square
#9645DF #DF4945 #8EDF45 #45DBDF
split-complementary
#9645DF #DBDF45 #45DF49
monochromatic
#581991 #7822C5 #9645DF #B379E8 #D1ADF1

Accessibility & contrast

On white

4.98
#9645DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9645DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645DF
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645DF#FFFFFF#000000##FFFFFF
##9645DF1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#006FDC
Tritanopia (blue-blind)
#88698D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9645df;
/* rgb */ color: rgb(150, 69, 223);
/* oklch */ color: oklch(57.1% 0.224 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba7fea',
    500: '#9645df',
    950: '#000000',
  },
}
SCSS
$custom: #9645df;
$custom-light: #ba7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9645df",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 223
  },
  "hsl": {
    "h": 271.558,
    "s": 70.642,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.22353,
    "h": 304.2
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#9645DF
secondary
#BEDFA1
accent
#ED3A8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9645DF

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

Preview Lab → · Contrast checker → · Palette generator →

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