#9631AB#9631AB

#9631AB is a mid, vivid purple. Relative luminance 0.116; OKLCH L 51.4% C 0.198 H 320.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#9631AB
RGBrgb(150, 49, 171)
HSLhsl(290, 55%, 43%)
HSVhsv(290, 71%, 67%)
CMYKcmyk(12.3%, 71.3%, 0%, 32.9%)
CIE-LABlab(40.61, 58.39, -45.23)
CIE-LCHlch(40.61, 73.86, 322.24°)
OKLaboklab(51.36% 0.1518 -0.1266)
OKLCHoklch(51.36% 0.198 320.2)
XYZxyz(21.0258, 11.6220, 39.6559)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9631AB #46AB31
analogous
#5931AB #9631AB #AB3183
triadic
#9631AB #AB9631 #31AB96
tetradic
#9631AB #AB5931 #46AB31 #3183AB
square
#9631AB #AB5931 #46AB31 #3183AB
split-complementary
#9631AB #83AB31 #31AB59
monochromatic
#43164C #6C237B #9631AB #B64DCC #CA7DDA

Accessibility & contrast

On white

6.32
#9631AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#9631AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9631AB
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9631AB#FFFFFF#000000##FFFFFF
##9631AB1.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)
#0059AE
Deuteranopia (green-blind)
#3C63A8
Tritanopia (blue-blind)
#97486B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9631ab;
/* rgb */ color: rgb(150, 49, 171);
/* oklch */ color: oklch(51.4% 0.198 320.2);
Tailwind
colors: {
  custom: {
    50: '#b873c5',
    500: '#9631ab',
    950: '#000000',
  },
}
SCSS
$custom: #9631ab;
$custom-light: #b873c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9631ab",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 171
  },
  "hsl": {
    "h": 289.672,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51357,
    "c": 0.19771,
    "h": 320.2
  },
  "luminance": 0.11621
}

Semantic roles & 50–950 ramp

primary
#9631AB
secondary
#83C275
accent
#DF4963
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9631AB

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

Preview Lab → · Contrast checker → · Palette generator →

#9631AB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva