#9642CC#9642CC

#9642CC is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.4% C 0.208 H 309.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9642CC
RGBrgb(150, 66, 204)
HSLhsl(277, 58%, 53%)
HSVhsv(277, 68%, 80%)
CMYKcmyk(26.5%, 67.6%, 0%, 20%)
CIE-LABlab(45.28, 58.03, -57.05)
CIE-LCHlch(45.28, 81.38, 315.49°)
OKLaboklab(55.37% 0.131 -0.1614)
OKLCHoklch(55.37% 0.208 309.1)
XYZxyz(25.4228, 14.7405, 58.6210)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642CC #78CC42
analogous
#5142CC #9642CC #CC42BD
triadic
#9642CC #CC9642 #42CC96
tetradic
#9642CC #CC5142 #78CC42 #42BDCC
square
#9642CC #CC5142 #78CC42 #42BDCC
split-complementary
#9642CC #BDCC42 #42CC51
monochromatic
#531F74 #752CA4 #9642CC #B172D9 #CCA2E6

Accessibility & contrast

On white

5.32
#9642CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#9642CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642CC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642CC#FFFFFF#000000##FFFFFF
##9642CC1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D0
Deuteranopia (green-blind)
#286CC9
Tritanopia (blue-blind)
#8E6082
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9642cc;
/* rgb */ color: rgb(150, 66, 204);
/* oklch */ color: oklch(55.4% 0.208 309.1);
Tailwind
colors: {
  custom: {
    50: '#b97cdc',
    500: '#9642cc',
    950: '#000000',
  },
}
SCSS
$custom: #9642cc;
$custom-light: #b97cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9642cc",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 204
  },
  "hsl": {
    "h": 276.522,
    "s": 57.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55373,
    "c": 0.20791,
    "h": 309.1
  },
  "luminance": 0.1474
}

Semantic roles & 50–950 ramp

primary
#9642CC
secondary
#AED397
accent
#E14783
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642CC

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

Preview Lab → · Contrast checker → · Palette generator →

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