#9628B9#9628B9

#9628B9 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.219 H 316.2°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#9628B9
RGBrgb(150, 40, 185)
HSLhsl(286, 64%, 44%)
HSVhsv(286, 78%, 73%)
CMYKcmyk(18.9%, 78.4%, 0%, 27.5%)
CIE-LABlab(40.42, 64.24, -53.82)
CIE-LCHlch(40.42, 83.80, 320.04°)
OKLaboklab(51.51% 0.1585 -0.1518)
OKLCHoklch(51.51% 0.219 316.2)
XYZxyz(22.0921, 11.5053, 46.9466)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628B9 #4BB928
analogous
#4E28B9 #9628B9 #B92894
triadic
#9628B9 #B99628 #28B996
tetradic
#9628B9 #B94E28 #4BB928 #2894B9
square
#9628B9 #B94E28 #4BB928 #2894B9
split-complementary
#9628B9 #94B928 #28B94E
monochromatic
#441254 #6D1D87 #9628B9 #B447D7 #C979E2

Accessibility & contrast

On white

6.36
#9628B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9628B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628B9
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628B9#FFFFFF#000000##FFFFFF
##9628B91.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BD
Deuteranopia (green-blind)
#2662B6
Tritanopia (blue-blind)
#944970
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9628b9;
/* rgb */ color: rgb(150, 40, 185);
/* oklch */ color: oklch(51.5% 0.219 316.2);
Tailwind
colors: {
  custom: {
    50: '#b96fcf',
    500: '#9628b9',
    950: '#000000',
  },
}
SCSS
$custom: #9628b9;
$custom-light: #b96fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9628b9",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 185
  },
  "hsl": {
    "h": 285.517,
    "s": 64.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51514,
    "c": 0.21943,
    "h": 316.2
  },
  "luminance": 0.11504
}

Semantic roles & 50–950 ramp

primary
#9628B9
secondary
#88CA73
accent
#E74069
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9628B9

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

Preview Lab → · Contrast checker → · Palette generator →

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