#9642D0#9642D0

#9642D0 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.6% C 0.212 H 308.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9642D0
RGBrgb(150, 66, 208)
HSLhsl(275, 60%, 54%)
HSVhsv(275, 68%, 82%)
CMYKcmyk(27.9%, 68.3%, 0%, 18.4%)
CIE-LABlab(45.54, 58.91, -58.92)
CIE-LCHlch(45.54, 83.33, 315.00°)
OKLaboklab(55.65% 0.1306 -0.1669)
OKLCHoklch(55.65% 0.212 308)
XYZxyz(25.9087, 14.9349, 61.1801)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642D0 #7CD042
analogous
#4F42D0 #9642D0 #D042C3
triadic
#9642D0 #D09642 #42D096
tetradic
#9642D0 #D04F42 #7CD042 #42C3D0
square
#9642D0 #D04F42 #7CD042 #42C3D0
split-complementary
#9642D0 #C3D042 #42D04F
monochromatic
#541E79 #762AAA #9642D0 #B173DC #CCA4E8

Accessibility & contrast

On white

5.27
#9642D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9642D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642D0
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642D0#FFFFFF#000000##FFFFFF
##9642D01.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D4
Deuteranopia (green-blind)
#216DCD
Tritanopia (blue-blind)
#8D6184
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9642d0;
/* rgb */ color: rgb(150, 66, 208);
/* oklch */ color: oklch(55.6% 0.212 308.0);
Tailwind
colors: {
  custom: {
    50: '#b97ddf',
    500: '#9642d0',
    950: '#000000',
  },
}
SCSS
$custom: #9642d0;
$custom-light: #b97ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#9642d0",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 275.493,
    "s": 60.169,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5565,
    "c": 0.21195,
    "h": 308
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#9642D0
secondary
#B1D599
accent
#E34485
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642D0

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

Preview Lab → · Contrast checker → · Palette generator →

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