#9645E8#9645E8

#9645E8 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.7% C 0.233 H 302.2°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9645E8
RGBrgb(150, 69, 232)
HSLhsl(270, 78%, 59%)
HSVhsv(270, 70%, 91%)
CMYKcmyk(35.3%, 70.3%, 0%, 9%)
CIE-LABlab(47.71, 63.03, -69.10)
CIE-LCHlch(47.71, 93.53, 312.37°)
OKLaboklab(57.72% 0.1242 -0.1968)
OKLCHoklch(57.72% 0.233 302.2)
XYZxyz(29.2678, 16.5664, 77.9840)
Luminance0.1657 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645E8 #97E845
analogous
#4546E8 #9645E8 #E745E8
triadic
#9645E8 #E89645 #45E896
tetradic
#9645E8 #E84546 #97E845 #45E8E7
square
#9645E8 #E84546 #97E845 #45E8E7
split-complementary
#9645E8 #E8E745 #46E845
monochromatic
#59149F #771AD5 #9645E8 #B57BEF #D3B2F5

Accessibility & contrast

On white

4.87
#9645E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9645E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645E8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645E8#FFFFFF#000000##FFFFFF
##9645E81.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#856C92
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9645e8;
/* rgb */ color: rgb(150, 69, 232);
/* oklch */ color: oklch(57.7% 0.233 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb7ff0',
    500: '#9645e8',
    950: '#000000',
  },
}
SCSS
$custom: #9645e8;
$custom-light: #bb7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#9645e8",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 232
  },
  "hsl": {
    "h": 269.816,
    "s": 77.99,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57724,
    "c": 0.23274,
    "h": 302.2
  },
  "luminance": 0.16566
}

Semantic roles & 50–950 ramp

primary
#9645E8
secondary
#C5E4A4
accent
#F43394
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9645E8

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

Preview Lab → · Contrast checker → · Palette generator →

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