#9628A2#9628A2

#9628A2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.0% C 0.200 H 323.6°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#9628A2
RGBrgb(150, 40, 162)
HSLhsl(294, 60%, 40%)
HSVhsv(294, 75%, 64%)
CMYKcmyk(7.4%, 75.3%, 0%, 36.5%)
CIE-LABlab(38.92, 59.97, -42.55)
CIE-LCHlch(38.92, 73.53, 324.64°)
OKLaboklab(49.97% 0.1611 -0.1187)
OKLCHoklch(49.97% 0.2 323.6)
XYZxyz(19.8575, 10.6115, 35.1777)
Luminance0.1061 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628A2 #34A228
analogous
#5928A2 #9628A2 #A22871
triadic
#9628A2 #A29628 #28A296
tetradic
#9628A2 #A25928 #34A228 #2871A2
square
#9628A2 #A25928 #34A228 #2871A2
split-complementary
#9628A2 #71A228 #28A259
monochromatic
#3B1040 #691C71 #9628A2 #BF39CE #CF6ADA

Accessibility & contrast

On white

6.73
#9628A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#9628A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628A2
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628A2#FFFFFF#000000##FFFFFF
##9628A21.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A5
Deuteranopia (green-blind)
#3E609F
Tritanopia (blue-blind)
#993F63
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9628a2;
/* rgb */ color: rgb(150, 40, 162);
/* oklch */ color: oklch(50.0% 0.200 323.6);
Tailwind
colors: {
  custom: {
    50: '#b96ebe',
    500: '#9628a2',
    950: '#000000',
  },
}
SCSS
$custom: #9628a2;
$custom-light: #b96ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9628a2",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 294.098,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.49974,
    "c": 0.20014,
    "h": 323.6
  },
  "luminance": 0.1061
}

Semantic roles & 50–950 ramp

primary
#9628A2
secondary
#6EC165
accent
#E44454
background
#FBF7FB
surface
#F7EDF7
border
#D0C8D0
text
#120812
muted
#817B81

Preview Lab

Preview with #9628A2

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

Preview Lab → · Contrast checker → · Palette generator →

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