#9627BD#9627BD

#9627BD is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.7% C 0.224 H 315.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9627BD
RGBrgb(150, 39, 189)
HSLhsl(284, 66%, 45%)
HSVhsv(284, 79%, 74%)
CMYKcmyk(20.6%, 79.4%, 0%, 25.9%)
CIE-LABlab(40.59, 65.32, -55.90)
CIE-LCHlch(40.59, 85.97, 319.45°)
OKLaboklab(51.72% 0.1586 -0.1578)
OKLCHoklch(51.72% 0.224 315.1)
XYZxyz(22.4870, 11.6100, 49.1907)
Luminance0.1161 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9627BD #4EBD27
analogous
#4B27BD #9627BD #BD2799
triadic
#9627BD #BD9627 #27BD96
tetradic
#9627BD #BD4B27 #4EBD27 #2799BD
square
#9627BD #BD4B27 #4EBD27 #2799BD
split-complementary
#9627BD #99BD27 #27BD4B
monochromatic
#451258 #6E1D8A #9627BD #B348D9 #C87BE4

Accessibility & contrast

On white

6.32
#9627BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9627BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9627BD
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9627BD#FFFFFF#000000##FFFFFF
##9627BD1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9627bd;
/* rgb */ color: rgb(150, 39, 189);
/* oklch */ color: oklch(51.7% 0.224 315.1);
Tailwind
colors: {
  custom: {
    50: '#ba6fd2',
    500: '#9627bd',
    950: '#000000',
  },
}
SCSS
$custom: #9627bd;
$custom-light: #ba6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#9627bd",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 189
  },
  "hsl": {
    "h": 284.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.22376,
    "h": 315.1
  },
  "luminance": 0.11609
}

Semantic roles & 50–950 ramp

primary
#9627BD
secondary
#8BCC74
accent
#E93F6B
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9627BD

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

Preview Lab → · Contrast checker → · Palette generator →

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