#9642CA#9642CA

#9642CA is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.2% C 0.206 H 309.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#9642CA
RGBrgb(150, 66, 202)
HSLhsl(277, 56%, 53%)
HSVhsv(277, 67%, 79%)
CMYKcmyk(25.7%, 67.3%, 0%, 20.8%)
CIE-LABlab(45.14, 57.59, -56.11)
CIE-LCHlch(45.14, 80.41, 315.75°)
OKLaboklab(55.24% 0.1312 -0.1587)
OKLCHoklch(55.24% 0.206 309.6)
XYZxyz(25.1845, 14.6452, 57.3658)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642CA #76CA42
analogous
#5242CA #9642CA #CA42BA
triadic
#9642CA #CA9642 #42CA96
tetradic
#9642CA #CA5242 #76CA42 #42BACA
square
#9642CA #CA5242 #76CA42 #42BACA
split-complementary
#9642CA #BACA42 #42CA52
monochromatic
#522072 #752DA2 #9642CA #B172D7 #CBA2E5

Accessibility & contrast

On white

5.34
#9642CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9642CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642CA
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642CA#FFFFFF#000000##FFFFFF
##9642CA1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#2B6CC7
Tritanopia (blue-blind)
#8F5F81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9642ca;
/* rgb */ color: rgb(150, 66, 202);
/* oklch */ color: oklch(55.2% 0.206 309.6);
Tailwind
colors: {
  custom: {
    50: '#b97cdb',
    500: '#9642ca',
    950: '#000000',
  },
}
SCSS
$custom: #9642ca;
$custom-light: #b97cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9642ca",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 202
  },
  "hsl": {
    "h": 277.059,
    "s": 56.198,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55236,
    "c": 0.2059,
    "h": 309.6
  },
  "luminance": 0.14645
}

Semantic roles & 50–950 ramp

primary
#9642CA
secondary
#ADD196
accent
#DF4882
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642CA

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

Preview Lab → · Contrast checker → · Palette generator →

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