#9627BC#9627BC

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

Color values

HEX#9627BC
RGBrgb(150, 39, 188)
HSLhsl(285, 66%, 45%)
HSVhsv(285, 79%, 74%)
CMYKcmyk(20.2%, 79.3%, 0%, 26.3%)
CIE-LABlab(40.52, 65.13, -55.42)
CIE-LCHlch(40.52, 85.52, 319.60°)
OKLaboklab(51.65% 0.1588 -0.1565)
OKLCHoklch(51.65% 0.223 315.4)
XYZxyz(22.3788, 11.5668, 48.6210)
Luminance0.1157 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9627BC #4DBC27
analogous
#4C27BC #9627BC #BC2798
triadic
#9627BC #BC9627 #27BC96
tetradic
#9627BC #BC4C27 #4DBC27 #2798BC
square
#9627BC #BC4C27 #4DBC27 #2798BC
split-complementary
#9627BC #98BC27 #27BC4C
monochromatic
#451257 #6E1C89 #9627BC #B447D9 #C97AE3

Accessibility & contrast

On white

6.34
#9627BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#9627BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9627BC
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9627BC#FFFFFF#000000##FFFFFF
##9627BC1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2162B9
Tritanopia (blue-blind)
#934A72
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9627bc;
/* rgb */ color: rgb(150, 39, 188);
/* oklch */ color: oklch(51.7% 0.223 315.4);
Tailwind
colors: {
  custom: {
    50: '#ba6fd1',
    500: '#9627bc',
    950: '#000000',
  },
}
SCSS
$custom: #9627bc;
$custom-light: #ba6fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9627bc",
  "rgb": {
    "r": 150,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 284.698,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51651,
    "c": 0.22291,
    "h": 315.4
  },
  "luminance": 0.11566
}

Semantic roles & 50–950 ramp

primary
#9627BC
secondary
#8ACB73
accent
#E93F6A
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #9627BC

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

Preview Lab → · Contrast checker → · Palette generator →

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