#9642CB#9642CB

#9642CB is a mid, highly saturated violet. Relative luminance 0.147; OKLCH L 55.3% C 0.207 H 309.3°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#9642CB
RGBrgb(150, 66, 203)
HSLhsl(277, 57%, 53%)
HSVhsv(277, 67%, 80%)
CMYKcmyk(26.1%, 67.5%, 0%, 20.4%)
CIE-LABlab(45.21, 57.81, -56.58)
CIE-LCHlch(45.21, 80.89, 315.62°)
OKLaboklab(55.31% 0.1311 -0.16)
OKLCHoklch(55.31% 0.207 309.3)
XYZxyz(25.3032, 14.6927, 57.9914)
Luminance0.1469 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642CB #77CB42
analogous
#5142CB #9642CB #CB42BC
triadic
#9642CB #CB9642 #42CB96
tetradic
#9642CB #CB5142 #77CB42 #42BCCB
square
#9642CB #CB5142 #77CB42 #42BCCB
split-complementary
#9642CB #BCCB42 #42CB51
monochromatic
#532073 #752DA3 #9642CB #B172D8 #CBA2E5

Accessibility & contrast

On white

5.33
#9642CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9642CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642CB
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642CB#FFFFFF#000000##FFFFFF
##9642CB1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CF
Deuteranopia (green-blind)
#2A6CC8
Tritanopia (blue-blind)
#8E5F81
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9642cb;
/* rgb */ color: rgb(150, 66, 203);
/* oklch */ color: oklch(55.3% 0.207 309.3);
Tailwind
colors: {
  custom: {
    50: '#b97cdc',
    500: '#9642cb',
    950: '#000000',
  },
}
SCSS
$custom: #9642cb;
$custom-light: #b97cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9642cb",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 203
  },
  "hsl": {
    "h": 276.788,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55305,
    "c": 0.20691,
    "h": 309.3
  },
  "luminance": 0.14692
}

Semantic roles & 50–950 ramp

primary
#9642CB
secondary
#AED297
accent
#E04883
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642CB

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

Preview Lab → · Contrast checker → · Palette generator →

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