#9628B6#9628B6

#9628B6 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.3% C 0.217 H 317.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9628B6
RGBrgb(150, 40, 182)
HSLhsl(286, 64%, 44%)
HSVhsv(286, 78%, 71%)
CMYKcmyk(17.6%, 78%, 0%, 28.6%)
CIE-LABlab(40.21, 63.66, -52.38)
CIE-LCHlch(40.21, 82.44, 320.55°)
OKLaboklab(51.3% 0.159 -0.1475)
OKLCHoklch(51.3% 0.217 317.1)
XYZxyz(21.7787, 11.3800, 45.2963)
Luminance0.1138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628B6 #48B628
analogous
#4F28B6 #9628B6 #B6288F
triadic
#9628B6 #B69628 #28B696
tetradic
#9628B6 #B64F28 #48B628 #288FB6
square
#9628B6 #B64F28 #48B628 #288FB6
split-complementary
#9628B6 #8FB628 #28B64F
monochromatic
#431252 #6D1D84 #9628B6 #B545D6 #C977E1

Accessibility & contrast

On white

6.41
#9628B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9628B6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628B6
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628B6#FFFFFF#000000##FFFFFF
##9628B61.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BA
Deuteranopia (green-blind)
#2A62B3
Tritanopia (blue-blind)
#94486F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9628b6;
/* rgb */ color: rgb(150, 40, 182);
/* oklch */ color: oklch(51.3% 0.217 317.1);
Tailwind
colors: {
  custom: {
    50: '#b96fcd',
    500: '#9628b6',
    950: '#000000',
  },
}
SCSS
$custom: #9628b6;
$custom-light: #b96fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#9628b6",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 182
  },
  "hsl": {
    "h": 286.479,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.21688,
    "h": 317.1
  },
  "luminance": 0.11379
}

Semantic roles & 50–950 ramp

primary
#9628B6
secondary
#85C971
accent
#E74166
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9628B6

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

Preview Lab → · Contrast checker → · Palette generator →

#9628B6 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva