#9641D8#9641D8

#9641D8 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 56.1% C 0.221 H 306.2°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9641D8
RGBrgb(150, 65, 216)
HSLhsl(274, 66%, 55%)
HSVhsv(274, 70%, 85%)
CMYKcmyk(30.6%, 69.9%, 0%, 15.3%)
CIE-LABlab(45.94, 61.14, -62.88)
CIE-LCHlch(45.94, 87.70, 314.20°)
OKLaboklab(56.11% 0.1306 -0.1785)
OKLCHoklch(56.11% 0.221 306.2)
XYZxyz(26.8599, 15.2227, 66.4757)
Luminance0.1522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9641D8 #83D841
analogous
#4B41D8 #9641D8 #D841CE
triadic
#9641D8 #D89641 #41D896
tetradic
#9641D8 #D84B41 #83D841 #41CED8
square
#9641D8 #D84B41 #83D841 #41CED8
split-complementary
#9641D8 #CED841 #41D84B
monochromatic
#561B84 #7725B6 #9641D8 #B274E2 #CEA7ED

Accessibility & contrast

On white

5.19
#9641D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9641D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9641D8
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9641D8#FFFFFF#000000##FFFFFF
##9641D81.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADC
Deuteranopia (green-blind)
#036DD5
Tritanopia (blue-blind)
#8A6488
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9641d8;
/* rgb */ color: rgb(150, 65, 216);
/* oklch */ color: oklch(56.1% 0.221 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba7ce5',
    500: '#9641d8',
    950: '#000000',
  },
}
SCSS
$custom: #9641d8;
$custom-light: #ba7ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#9641d8",
  "rgb": {
    "r": 150,
    "g": 65,
    "b": 216
  },
  "hsl": {
    "h": 273.775,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56105,
    "c": 0.22121,
    "h": 306.2
  },
  "luminance": 0.15222
}

Semantic roles & 50–950 ramp

primary
#9641D8
secondary
#B6DA9B
accent
#E93F89
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9641D8

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

Preview Lab → · Contrast checker → · Palette generator →

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