#9642CE#9642CE

#9642CE is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 55.5% C 0.210 H 308.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9642CE
RGBrgb(150, 66, 206)
HSLhsl(276, 59%, 53%)
HSVhsv(276, 68%, 81%)
CMYKcmyk(27.2%, 68%, 0%, 19.2%)
CIE-LABlab(45.41, 58.47, -57.99)
CIE-LCHlch(45.41, 82.35, 315.24°)
OKLaboklab(55.51% 0.1308 -0.1642)
OKLCHoklch(55.51% 0.21 308.6)
XYZxyz(25.6642, 14.8371, 59.8924)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642CE #7ACE42
analogous
#5042CE #9642CE #CE42C0
triadic
#9642CE #CE9642 #42CE96
tetradic
#9642CE #CE5042 #7ACE42 #42C0CE
square
#9642CE #CE5042 #7ACE42 #42C0CE
split-complementary
#9642CE #C0CE42 #42CE50
monochromatic
#541F77 #762BA7 #9642CE #B173DB #CCA3E7

Accessibility & contrast

On white

5.29
#9642CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9642CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642CE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642CE#FFFFFF#000000##FFFFFF
##9642CE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D2
Deuteranopia (green-blind)
#256CCB
Tritanopia (blue-blind)
#8D6083
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9642ce;
/* rgb */ color: rgb(150, 66, 206);
/* oklch */ color: oklch(55.5% 0.210 308.6);
Tailwind
colors: {
  custom: {
    50: '#b97dde',
    500: '#9642ce',
    950: '#000000',
  },
}
SCSS
$custom: #9642ce;
$custom-light: #b97dde;
$custom-dark: #000000;
JSON
{
  "hex": "#9642ce",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 206
  },
  "hsl": {
    "h": 276,
    "s": 58.824,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55511,
    "c": 0.20992,
    "h": 308.6
  },
  "luminance": 0.14837
}

Semantic roles & 50–950 ramp

primary
#9642CE
secondary
#B0D498
accent
#E24684
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642CE

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

Preview Lab → · Contrast checker → · Palette generator →

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