#9628BD#9628BD

#9628BD is a mid, highly saturated purple. Relative luminance 0.117; OKLCH L 51.8% C 0.223 H 315.1°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#9628BD
RGBrgb(150, 40, 189)
HSLhsl(284, 65%, 45%)
HSVhsv(284, 79%, 74%)
CMYKcmyk(20.6%, 78.8%, 0%, 25.9%)
CIE-LABlab(40.70, 65.01, -55.72)
CIE-LCHlch(40.70, 85.62, 319.40°)
OKLaboklab(51.8% 0.1578 -0.1573)
OKLCHoklch(51.8% 0.223 315.1)
XYZxyz(22.5203, 11.6766, 49.2018)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628BD #4FBD28
analogous
#4B28BD #9628BD #BD289A
triadic
#9628BD #BD9628 #28BD96
tetradic
#9628BD #BD4B28 #4FBD28 #289ABD
square
#9628BD #BD4B28 #4FBD28 #289ABD
split-complementary
#9628BD #9ABD28 #28BD4B
monochromatic
#461358 #6E1D8A #9628BD #B34AD9 #C87CE3

Accessibility & contrast

On white

6.30
#9628BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#9628BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628BD
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628BD#FFFFFF#000000##FFFFFF
##9628BD1.006.303.346.30
#FFFFFF6.301.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#2063BA
Tritanopia (blue-blind)
#934B73
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9628bd;
/* rgb */ color: rgb(150, 40, 189);
/* oklch */ color: oklch(51.8% 0.223 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fd2',
    500: '#9628bd',
    950: '#000000',
  },
}
SCSS
$custom: #9628bd;
$custom-light: #ba6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9628bd",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 284.295,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51798,
    "c": 0.22284,
    "h": 315.1
  },
  "luminance": 0.11676
}

Semantic roles & 50–950 ramp

primary
#9628BD
secondary
#8CCB75
accent
#E8406C
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9628BD

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

Preview Lab → · Contrast checker → · Palette generator →

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