#9641D9#9641D9

#9641D9 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.2% C 0.222 H 306.0°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9641D9
RGBrgb(150, 65, 217)
HSLhsl(274, 67%, 55%)
HSVhsv(274, 70%, 85%)
CMYKcmyk(30.9%, 70%, 0%, 14.9%)
CIE-LABlab(46.01, 61.37, -63.34)
CIE-LCHlch(46.01, 88.19, 314.09°)
OKLaboklab(56.18% 0.1305 -0.1799)
OKLCHoklch(56.18% 0.222 306)
XYZxyz(26.9896, 15.2746, 67.1586)
Luminance0.1527 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9641D9 #84D941
analogous
#4A41D9 #9641D9 #D941D0
triadic
#9641D9 #D99641 #41D996
tetradic
#9641D9 #D94A41 #84D941 #41D0D9
square
#9641D9 #D94A41 #84D941 #41D0D9
split-complementary
#9641D9 #D0D941 #41D94A
monochromatic
#561B85 #7725B8 #9641D9 #B274E3 #CEA7ED

Accessibility & contrast

On white

5.18
#9641D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#9641D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9641D9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9641D9#FFFFFF#000000##FFFFFF
##9641D91.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#006DD6
Tritanopia (blue-blind)
#8A6489
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9641d9;
/* rgb */ color: rgb(150, 65, 217);
/* oklch */ color: oklch(56.2% 0.222 306.0);
Tailwind
colors: {
  custom: {
    50: '#ba7ce6',
    500: '#9641d9',
    950: '#000000',
  },
}
SCSS
$custom: #9641d9;
$custom-light: #ba7ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#9641d9",
  "rgb": {
    "r": 150,
    "g": 65,
    "b": 217
  },
  "hsl": {
    "h": 273.553,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56177,
    "c": 0.22221,
    "h": 306
  },
  "luminance": 0.15274
}

Semantic roles & 50–950 ramp

primary
#9641D9
secondary
#B7DB9B
accent
#EA3E8A
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9641D9

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

Preview Lab → · Contrast checker → · Palette generator →

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