#9645E6#9645E6

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

Color values

HEX#9645E6
RGBrgb(150, 69, 230)
HSLhsl(270, 76%, 59%)
HSVhsv(270, 70%, 90%)
CMYKcmyk(34.8%, 70%, 0%, 9.8%)
CIE-LABlab(47.56, 62.57, -68.20)
CIE-LCHlch(47.56, 92.56, 312.53°)
OKLaboklab(57.58% 0.1245 -0.1942)
OKLCHoklch(57.58% 0.231 302.7)
XYZxyz(28.9854, 16.4534, 76.4964)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645E6 #95E645
analogous
#4545E6 #9645E6 #E645E6
triadic
#9645E6 #E69645 #45E696
tetradic
#9645E6 #E64545 #95E645 #45E6E6
square
#9645E6 #E64545 #95E645 #45E6E6
split-complementary
#9645E6 #E6E645 #45E645
monochromatic
#59159C #771CD2 #9645E6 #B47BED #D3B1F5

Accessibility & contrast

On white

4.89
#9645E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9645E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645E6
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645E6#FFFFFF#000000##FFFFFF
##9645E61.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FEB
Deuteranopia (green-blind)
#0070E3
Tritanopia (blue-blind)
#866B91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9645e6;
/* rgb */ color: rgb(150, 69, 230);
/* oklch */ color: oklch(57.6% 0.231 302.7);
Tailwind
colors: {
  custom: {
    50: '#bb7fef',
    500: '#9645e6',
    950: '#000000',
  },
}
SCSS
$custom: #9645e6;
$custom-light: #bb7fef;
$custom-dark: #000000;
JSON
{
  "hex": "#9645e6",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 230
  },
  "hsl": {
    "h": 270.186,
    "s": 76.303,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57575,
    "c": 0.2307,
    "h": 302.7
  },
  "luminance": 0.16453
}

Semantic roles & 50–950 ramp

primary
#9645E6
secondary
#C3E3A4
accent
#F33593
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120A17
muted
#817C85

Preview Lab

Preview with #9645E6

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

Preview Lab → · Contrast checker → · Palette generator →

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