#9645CE#9645CE

#9645CE is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.206 H 308.2°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9645CE
RGBrgb(150, 69, 206)
HSLhsl(275, 58%, 54%)
HSVhsv(275, 67%, 81%)
CMYKcmyk(27.2%, 66.5%, 0%, 19.2%)
CIE-LABlab(45.90, 57.10, -57.20)
CIE-LCHlch(45.90, 80.82, 314.95°)
OKLaboklab(55.86% 0.1276 -0.1619)
OKLCHoklch(55.86% 0.206 308.2)
XYZxyz(25.8441, 15.1969, 59.9524)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645CE #7DCE45
analogous
#5245CE #9645CE #CE45C2
triadic
#9645CE #CE9645 #45CE96
tetradic
#9645CE #CE5245 #7DCE45 #45C2CE
square
#9645CE #CE5245 #7DCE45 #45C2CE
split-complementary
#9645CE #C2CE45 #45CE52
monochromatic
#542079 #762DA9 #9645CE #B175DB #CDA6E8

Accessibility & contrast

On white

5.20
#9645CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9645CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645CE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645CE#FFFFFF#000000##FFFFFF
##9645CE1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#296ECB
Tritanopia (blue-blind)
#8D6284
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9645ce;
/* rgb */ color: rgb(150, 69, 206);
/* oklch */ color: oklch(55.9% 0.206 308.2);
Tailwind
colors: {
  custom: {
    50: '#b97ede',
    500: '#9645ce',
    950: '#000000',
  },
}
SCSS
$custom: #9645ce;
$custom-light: #b97ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9645ce",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 275.474,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55864,
    "c": 0.2061,
    "h": 308.2
  },
  "luminance": 0.15197
}

Semantic roles & 50–950 ramp

primary
#9645CE
secondary
#B2D59A
accent
#E24686
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645CE

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

Preview Lab → · Contrast checker → · Palette generator →

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