#9645DE#9645DE

#9645DE is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 57.0% C 0.223 H 304.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#9645DE
RGBrgb(150, 69, 222)
HSLhsl(272, 70%, 57%)
HSVhsv(272, 69%, 87%)
CMYKcmyk(32.4%, 68.9%, 0%, 12.9%)
CIE-LABlab(46.99, 60.72, -64.59)
CIE-LCHlch(46.99, 88.65, 313.23°)
OKLaboklab(56.99% 0.1257 -0.1836)
OKLCHoklch(56.99% 0.223 304.4)
XYZxyz(27.8876, 16.0143, 70.7150)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645DE #8DDE45
analogous
#4A45DE #9645DE #DE45D9
triadic
#9645DE #DE9645 #45DE96
tetradic
#9645DE #DE4A45 #8DDE45 #45D9DE
square
#9645DE #DE4A45 #8DDE45 #45D9DE
split-complementary
#9645DE #D9DE45 #45DE4A
monochromatic
#58198F #7823C3 #9645DE #B379E7 #D1ADF0

Accessibility & contrast

On white

5.00
#9645DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9645DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645DE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645DE#FFFFFF#000000##FFFFFF
##9645DE1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DE3
Deuteranopia (green-blind)
#006FDB
Tritanopia (blue-blind)
#88688D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9645de;
/* rgb */ color: rgb(150, 69, 222);
/* oklch */ color: oklch(57.0% 0.223 304.4);
Tailwind
colors: {
  custom: {
    50: '#ba7fe9',
    500: '#9645de',
    950: '#000000',
  },
}
SCSS
$custom: #9645de;
$custom-light: #ba7fe9;
$custom-dark: #000000;
JSON
{
  "hex": "#9645de",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 222
  },
  "hsl": {
    "h": 271.765,
    "s": 69.863,
    "l": 57.059
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.22251,
    "h": 304.4
  },
  "luminance": 0.16014
}

Semantic roles & 50–950 ramp

primary
#9645DE
secondary
#BEDFA0
accent
#ED3B8F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9645DE

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

Preview Lab → · Contrast checker → · Palette generator →

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