#9645CF#9645CF

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

Color values

HEX#9645CF
RGBrgb(150, 69, 207)
HSLhsl(275, 59%, 54%)
HSVhsv(275, 67%, 81%)
CMYKcmyk(27.5%, 66.7%, 0%, 18.8%)
CIE-LABlab(45.97, 57.33, -57.67)
CIE-LCHlch(45.97, 81.31, 314.83°)
OKLaboklab(55.93% 0.1275 -0.1632)
OKLCHoklch(55.93% 0.207 308)
XYZxyz(25.9660, 15.2456, 60.5942)
Luminance0.1525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645CF #7ECF45
analogous
#5145CF #9645CF #CF45C3
triadic
#9645CF #CF9645 #45CF96
tetradic
#9645CF #CF5145 #7ECF45 #45C3CF
square
#9645CF #CF5145 #7ECF45 #45C3CF
split-complementary
#9645CF #C3CF45 #45CF51
monochromatic
#55207A #762CAB #9645CF #B176DC #CDA6E8

Accessibility & contrast

On white

5.19
#9645CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9645CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645CF
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645CF#FFFFFF#000000##FFFFFF
##9645CF1.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#8D6384
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9645cf;
/* rgb */ color: rgb(150, 69, 207);
/* oklch */ color: oklch(55.9% 0.207 308.0);
Tailwind
colors: {
  custom: {
    50: '#b97ede',
    500: '#9645cf',
    950: '#000000',
  },
}
SCSS
$custom: #9645cf;
$custom-light: #b97ede;
$custom-dark: #000000;
JSON
{
  "hex": "#9645cf",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 275.217,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55932,
    "c": 0.20712,
    "h": 308
  },
  "luminance": 0.15245
}

Semantic roles & 50–950 ramp

primary
#9645CF
secondary
#B3D59B
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9645CF

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

Preview Lab → · Contrast checker → · Palette generator →

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