#9628BA#9628BA

#9628BA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.220 H 315.9°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#9628BA
RGBrgb(150, 40, 186)
HSLhsl(285, 65%, 44%)
HSVhsv(285, 78%, 73%)
CMYKcmyk(19.4%, 78.5%, 0%, 27.1%)
CIE-LABlab(40.49, 64.43, -54.30)
CIE-LCHlch(40.49, 84.26, 319.88°)
OKLaboklab(51.59% 0.1583 -0.1532)
OKLCHoklch(51.59% 0.22 315.9)
XYZxyz(22.1980, 11.5477, 47.5045)
Luminance0.1155 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628BA #4CBA28
analogous
#4D28BA #9628BA #BA2895
triadic
#9628BA #BA9628 #28BA96
tetradic
#9628BA #BA4D28 #4CBA28 #2895BA
square
#9628BA #BA4D28 #4CBA28 #2895BA
split-complementary
#9628BA #95BA28 #28BA4D
monochromatic
#451255 #6D1D88 #9628BA #B448D8 #C97AE2

Accessibility & contrast

On white

6.35
#9628BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9628BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628BA
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628BA#FFFFFF#000000##FFFFFF
##9628BA1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2562B7
Tritanopia (blue-blind)
#934A71
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9628ba;
/* rgb */ color: rgb(150, 40, 186);
/* oklch */ color: oklch(51.6% 0.220 315.9);
Tailwind
colors: {
  custom: {
    50: '#b96fcf',
    500: '#9628ba',
    950: '#000000',
  },
}
SCSS
$custom: #9628ba;
$custom-light: #b96fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9628ba",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 186
  },
  "hsl": {
    "h": 285.205,
    "s": 64.602,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51585,
    "c": 0.22028,
    "h": 315.9
  },
  "luminance": 0.11547
}

Semantic roles & 50–950 ramp

primary
#9628BA
secondary
#89CA73
accent
#E84069
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9628BA

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

Preview Lab → · Contrast checker → · Palette generator →

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