#9645F4#9645F4

#9645F4 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.245 H 299.9°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9645F4
RGBrgb(150, 69, 244)
HSLhsl(268, 89%, 61%)
HSVhsv(268, 72%, 96%)
CMYKcmyk(38.5%, 71.7%, 0%, 4.3%)
CIE-LABlab(48.60, 65.84, -74.40)
CIE-LCHlch(48.60, 99.35, 311.51°)
OKLaboklab(58.63% 0.122 -0.2124)
OKLCHoklch(58.63% 0.245 299.9)
XYZxyz(31.0309, 17.2716, 87.2693)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9645F4 #A3F445
analogous
#454CF4 #9645F4 #ED45F4
triadic
#9645F4 #F49645 #45F496
tetradic
#9645F4 #F4454C #A3F445 #45F4ED
square
#9645F4 #F4454C #A3F445 #45F4ED
split-complementary
#9645F4 #F4ED45 #4CF445
monochromatic
#590BB4 #760EEE #9645F4 #B77FF7 #D7B9FB

Accessibility & contrast

On white

4.71
#9645F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9645F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9645F4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9645F4#FFFFFF#000000##FFFFFF
##9645F41.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F9
Deuteranopia (green-blind)
#0072F0
Tritanopia (blue-blind)
#807199
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9645f4;
/* rgb */ color: rgb(150, 69, 244);
/* oklch */ color: oklch(58.6% 0.245 299.9);
Tailwind
colors: {
  custom: {
    50: '#bc80f9',
    500: '#9645f4',
    950: '#000000',
  },
}
SCSS
$custom: #9645f4;
$custom-light: #bc80f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9645f4",
  "rgb": {
    "r": 150,
    "g": 69,
    "b": 244
  },
  "hsl": {
    "h": 267.771,
    "s": 88.832,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.24495,
    "h": 299.9
  },
  "luminance": 0.17272
}

Semantic roles & 50–950 ramp

primary
#9645F4
secondary
#CDEBAA
accent
#E5007B
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9645F4

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

Preview Lab → · Contrast checker → · Palette generator →

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