#9641DC#9641DC

#9641DC is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.4% C 0.225 H 305.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#9641DC
RGBrgb(150, 65, 220)
HSLhsl(273, 69%, 56%)
HSVhsv(273, 70%, 86%)
CMYKcmyk(31.8%, 70.5%, 0%, 13.7%)
CIE-LABlab(46.22, 62.04, -64.70)
CIE-LCHlch(46.22, 89.64, 313.80°)
OKLaboklab(56.4% 0.13 -0.1839)
OKLCHoklch(56.4% 0.225 305.3)
XYZxyz(27.3834, 15.4321, 69.2324)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9641DC #87DC41
analogous
#4841DC #9641DC #DC41D5
triadic
#9641DC #DC9641 #41DC96
tetradic
#9641DC #DC4841 #87DC41 #41D5DC
square
#9641DC #DC4841 #87DC41 #41D5DC
split-complementary
#9641DC #D5DC41 #41DC48
monochromatic
#571989 #7723BD #9641DC #B375E6 #CFA8EF

Accessibility & contrast

On white

5.14
#9641DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9641DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9641DC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9641DC#FFFFFF#000000##FFFFFF
##9641DC1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE1
Deuteranopia (green-blind)
#006ED9
Tritanopia (blue-blind)
#89658A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9641dc;
/* rgb */ color: rgb(150, 65, 220);
/* oklch */ color: oklch(56.4% 0.225 305.3);
Tailwind
colors: {
  custom: {
    50: '#ba7ce8',
    500: '#9641dc',
    950: '#000000',
  },
}
SCSS
$custom: #9641dc;
$custom-light: #ba7ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#9641dc",
  "rgb": {
    "r": 150,
    "g": 65,
    "b": 220
  },
  "hsl": {
    "h": 272.903,
    "s": 68.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56395,
    "c": 0.22522,
    "h": 305.3
  },
  "luminance": 0.15432
}

Semantic roles & 50–950 ramp

primary
#9641DC
secondary
#B9DD9C
accent
#EC3C8B
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9641DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9641DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva