#9628A5#9628A5

#9628A5 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.203 H 322.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9628A5
RGBrgb(150, 40, 165)
HSLhsl(293, 61%, 40%)
HSVhsv(293, 76%, 65%)
CMYKcmyk(9.1%, 75.8%, 0%, 35.3%)
CIE-LABlab(39.10, 60.51, -44.05)
CIE-LCHlch(39.10, 74.85, 323.94°)
OKLaboklab(50.17% 0.1609 -0.1231)
OKLCHoklch(50.17% 0.203 322.6)
XYZxyz(20.1273, 10.7194, 36.5989)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628A5 #37A528
analogous
#5728A5 #9628A5 #A52875
triadic
#9628A5 #A59628 #28A596
tetradic
#9628A5 #A55728 #37A528 #2875A5
square
#9628A5 #A55728 #37A528 #2875A5
split-complementary
#9628A5 #75A528 #28A557
monochromatic
#3C1042 #691C74 #9628A5 #BE3BCF #CE6CDB

Accessibility & contrast

On white

6.68
#9628A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9628A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628A5
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628A5#FFFFFF#000000##FFFFFF
##9628A51.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054A8
Deuteranopia (green-blind)
#3C60A2
Tritanopia (blue-blind)
#984065
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9628a5;
/* rgb */ color: rgb(150, 40, 165);
/* oklch */ color: oklch(50.2% 0.203 322.6);
Tailwind
colors: {
  custom: {
    50: '#b96ec0',
    500: '#9628a5',
    950: '#000000',
  },
}
SCSS
$custom: #9628a5;
$custom-light: #b96ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#9628a5",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 292.8,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50165,
    "c": 0.20261,
    "h": 322.6
  },
  "luminance": 0.10718
}

Semantic roles & 50–950 ramp

primary
#9628A5
secondary
#72C267
accent
#E44457
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9628A5

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

Preview Lab → · Contrast checker → · Palette generator →

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