#9642DA#9642DA

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

Color values

HEX#9642DA
RGBrgb(150, 66, 218)
HSLhsl(273, 67%, 56%)
HSVhsv(273, 70%, 85%)
CMYKcmyk(31.2%, 69.7%, 0%, 14.5%)
CIE-LABlab(46.23, 61.15, -63.54)
CIE-LCHlch(46.23, 88.19, 313.90°)
OKLaboklab(56.36% 0.1293 -0.1805)
OKLCHoklch(56.36% 0.222 305.6)
XYZxyz(27.1780, 15.4426, 67.8650)
Luminance0.1544 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642DA #86DA42
analogous
#4A42DA #9642DA #DA42D2
triadic
#9642DA #DA9642 #42DA96
tetradic
#9642DA #DA4A42 #86DA42 #42D2DA
square
#9642DA #DA4A42 #86DA42 #42D2DA
split-complementary
#9642DA #D2DA42 #42DA4A
monochromatic
#571A87 #7724BA #9642DA #B275E4 #CFA8EE

Accessibility & contrast

On white

5.14
#9642DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9642DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642DA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642DA#FFFFFF#000000##FFFFFF
##9642DA1.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)
#006BDE
Deuteranopia (green-blind)
#006ED7
Tritanopia (blue-blind)
#8A658A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9642da;
/* rgb */ color: rgb(150, 66, 218);
/* oklch */ color: oklch(56.4% 0.222 305.6);
Tailwind
colors: {
  custom: {
    50: '#ba7de6',
    500: '#9642da',
    950: '#000000',
  },
}
SCSS
$custom: #9642da;
$custom-light: #ba7de6;
$custom-dark: #000000;
JSON
{
  "hex": "#9642da",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 273.158,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.22203,
    "h": 305.6
  },
  "luminance": 0.15442
}

Semantic roles & 50–950 ramp

primary
#9642DA
secondary
#B9DB9C
accent
#EA3E8B
background
#FBF7FE
surface
#F7EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9642DA

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

Preview Lab → · Contrast checker → · Palette generator →

#9642DA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva