#9627BA#9627BA

#9627BA is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.5% C 0.221 H 316.0°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9627BA
RGBrgb(150, 39, 186)
HSLhsl(285, 65%, 44%)
HSVhsv(285, 79%, 73%)
CMYKcmyk(19.4%, 79%, 0%, 27.1%)
CIE-LABlab(40.38, 64.75, -54.47)
CIE-LCHlch(40.38, 84.61, 319.93°)
OKLaboklab(51.51% 0.1591 -0.1537)
OKLCHoklch(51.51% 0.221 316)
XYZxyz(22.1647, 11.4811, 47.4934)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9627BA #4BBA27
analogous
#4D27BA #9627BA #BA2795
triadic
#9627BA #BA9627 #27BA96
tetradic
#9627BA #BA4D27 #4BBA27 #2795BA
square
#9627BA #BA4D27 #4BBA27 #2795BA
split-complementary
#9627BA #95BA27 #27BA4D
monochromatic
#441255 #6D1C87 #9627BA #B446D8 #C979E3

Accessibility & contrast

On white

6.37
#9627BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9627BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9627BA
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9627BA#FFFFFF#000000##FFFFFF
##9627BA1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059BE
Deuteranopia (green-blind)
#2462B7
Tritanopia (blue-blind)
#934971
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9627ba;
/* rgb */ color: rgb(150, 39, 186);
/* oklch */ color: oklch(51.5% 0.221 316.0);
Tailwind
colors: {
  custom: {
    50: '#b96fd0',
    500: '#9627ba',
    950: '#000000',
  },
}
SCSS
$custom: #9627ba;
$custom-light: #b96fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9627ba",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 186
  },
  "hsl": {
    "h": 285.306,
    "s": 65.333,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.22121,
    "h": 316
  },
  "luminance": 0.1148
}

Semantic roles & 50–950 ramp

primary
#9627BA
secondary
#88CB72
accent
#E84069
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9627BA

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

Preview Lab → · Contrast checker → · Palette generator →

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