#9642D3#9642D3

#9642D3 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.9% C 0.215 H 307.3°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#9642D3
RGBrgb(150, 66, 211)
HSLhsl(275, 62%, 54%)
HSVhsv(275, 69%, 83%)
CMYKcmyk(28.9%, 68.7%, 0%, 17.3%)
CIE-LABlab(45.75, 59.58, -60.32)
CIE-LCHlch(45.75, 84.78, 314.65°)
OKLaboklab(55.86% 0.1303 -0.171)
OKLCHoklch(55.86% 0.215 307.3)
XYZxyz(26.2813, 15.0839, 63.1424)
Luminance0.1508 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9642D3 #7FD342
analogous
#4E42D3 #9642D3 #D342C7
triadic
#9642D3 #D39642 #42D396
tetradic
#9642D3 #D34E42 #7FD342 #42C7D3
square
#9642D3 #D34E42 #7FD342 #42C7D3
split-complementary
#9642D3 #C7D342 #42D34E
monochromatic
#551D7D #7729AF #9642D3 #B274DF #CDA5EA

Accessibility & contrast

On white

5.23
#9642D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9642D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9642D3
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9642D3#FFFFFF#000000##FFFFFF
##9642D31.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#1A6DD0
Tritanopia (blue-blind)
#8C6286
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9642d3;
/* rgb */ color: rgb(150, 66, 211);
/* oklch */ color: oklch(55.9% 0.215 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba7de1',
    500: '#9642d3',
    950: '#000000',
  },
}
SCSS
$custom: #9642d3;
$custom-light: #ba7de1;
$custom-dark: #000000;
JSON
{
  "hex": "#9642d3",
  "rgb": {
    "r": 150,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 274.759,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55861,
    "c": 0.21497,
    "h": 307.3
  },
  "luminance": 0.15084
}

Semantic roles & 50–950 ramp

primary
#9642D3
secondary
#B4D79A
accent
#E54287
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9642D3

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

Preview Lab → · Contrast checker → · Palette generator →

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