#9641D7#9641D7

#9641D7 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.0% C 0.220 H 306.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#9641D7
RGBrgb(150, 65, 215)
HSLhsl(274, 65%, 55%)
HSVhsv(274, 70%, 84%)
CMYKcmyk(30.2%, 69.8%, 0%, 15.7%)
CIE-LABlab(45.87, 60.92, -62.42)
CIE-LCHlch(45.87, 87.22, 314.30°)
OKLaboklab(56.03% 0.1308 -0.1772)
OKLCHoklch(56.03% 0.22 306.4)
XYZxyz(26.7311, 15.1712, 65.7969)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9641D7 #82D741
analogous
#4B41D7 #9641D7 #D741CD
triadic
#9641D7 #D79641 #41D796
tetradic
#9641D7 #D74B41 #82D741 #41CDD7
square
#9641D7 #D74B41 #82D741 #41CDD7
split-complementary
#9641D7 #CDD741 #41D74B
monochromatic
#561B82 #7726B5 #9641D7 #B274E2 #CEA6EC

Accessibility & contrast

On white

5.21
#9641D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9641D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9641D7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9641D7#FFFFFF#000000##FFFFFF
##9641D71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADB
Deuteranopia (green-blind)
#096DD4
Tritanopia (blue-blind)
#8B6388
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9641d7;
/* rgb */ color: rgb(150, 65, 215);
/* oklch */ color: oklch(56.0% 0.220 306.4);
Tailwind
colors: {
  custom: {
    50: '#ba7ce4',
    500: '#9641d7',
    950: '#000000',
  },
}
SCSS
$custom: #9641d7;
$custom-light: #ba7ce4;
$custom-dark: #000000;
JSON
{
  "hex": "#9641d7",
  "rgb": {
    "r": 150,
    "g": 65,
    "b": 215
  },
  "hsl": {
    "h": 274,
    "s": 65.217,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56033,
    "c": 0.2202,
    "h": 306.4
  },
  "luminance": 0.15171
}

Semantic roles & 50–950 ramp

primary
#9641D7
secondary
#B6D99A
accent
#E84089
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9641D7

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

Preview Lab → · Contrast checker → · Palette generator →

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