#9628B5#9628B5

#9628B5 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.2% C 0.216 H 317.4°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#9628B5
RGBrgb(150, 40, 181)
HSLhsl(287, 64%, 43%)
HSVhsv(287, 78%, 71%)
CMYKcmyk(17.1%, 77.9%, 0%, 29%)
CIE-LABlab(40.15, 63.47, -51.90)
CIE-LCHlch(40.15, 81.99, 320.73°)
OKLaboklab(51.24% 0.1591 -0.1461)
OKLCHoklch(51.24% 0.216 317.4)
XYZxyz(21.6757, 11.3388, 44.7539)
Luminance0.1134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628B5 #47B528
analogous
#5028B5 #9628B5 #B5288D
triadic
#9628B5 #B59628 #28B596
tetradic
#9628B5 #B55028 #47B528 #288DB5
square
#9628B5 #B55028 #47B528 #288DB5
split-complementary
#9628B5 #8DB528 #28B550
monochromatic
#431251 #6C1D83 #9628B5 #B644D6 #C977E1

Accessibility & contrast

On white

6.43
#9628B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9628B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628B5
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628B5#FFFFFF#000000##FFFFFF
##9628B51.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B9
Deuteranopia (green-blind)
#2C62B2
Tritanopia (blue-blind)
#95486E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9628b5;
/* rgb */ color: rgb(150, 40, 181);
/* oklch */ color: oklch(51.2% 0.216 317.4);
Tailwind
colors: {
  custom: {
    50: '#b96fcc',
    500: '#9628b5',
    950: '#000000',
  },
}
SCSS
$custom: #9628b5;
$custom-light: #b96fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#9628b5",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 181
  },
  "hsl": {
    "h": 286.809,
    "s": 63.801,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51235,
    "c": 0.21603,
    "h": 317.4
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

primary
#9628B5
secondary
#84C870
accent
#E74165
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120813
muted
#817B82

Preview Lab

Preview with #9628B5

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

Preview Lab → · Contrast checker → · Palette generator →

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