#9645E7#9645E7

#9645E7 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.232 H 302.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9645E7
RGBrgb(150, 69, 231)
HSLhsl(270, 77%, 59%)
HSVhsv(270, 70%, 91%)
CMYKcmyk(35.1%, 70.1%, 0%, 9.4%)
CIE-LABlab(47.64, 62.80, -68.65)
CIE-LCHlch(47.64, 93.04, 312.45°)
OKLaboklab(57.65% 0.1244 -0.1955)
OKLCHoklch(57.65% 0.232 302.5)
XYZxyz(29.1262, 16.5097, 77.2380)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645E7 #96E745
analogous
#4545E7 #9645E7 #E745E7
triadic
#9645E7 #E79645 #45E796
tetradic
#9645E7 #E74545 #96E745 #45E7E7
square
#9645E7 #E74545 #96E745 #45E7E7
split-complementary
#9645E7 #E7E745 #45E745
monochromatic
#59149D #771BD4 #9645E7 #B57BEE #D3B1F5

Accessibility & contrast

On white

4.88
#9645E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9645E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645E7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645E7#FFFFFF#000000##FFFFFF
##9645E71.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#0070E4
Tritanopia (blue-blind)
#856C92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9645e7;
/* rgb */ color: rgb(150, 69, 231);
/* oklch */ color: oklch(57.6% 0.232 302.5);
Tailwind
colors: {
  custom: {
    50: '#bb7ff0',
    500: '#9645e7',
    950: '#000000',
  },
}
SCSS
$custom: #9645e7;
$custom-light: #bb7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9645e7",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 231
  },
  "hsl": {
    "h": 270,
    "s": 77.143,
    "l": 58.824
  },
  "oklch": {
    "l": 0.5765,
    "c": 0.23171,
    "h": 302.5
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#9645E7
secondary
#C4E4A4
accent
#F43494
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9645E7

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

Preview Lab → · Contrast checker → · Palette generator →

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