#9631B2#9631B2

#9631B2 is a mid, highly saturated purple. Relative luminance 0.119; OKLCH L 51.8% C 0.204 H 317.9°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#9631B2
RGBrgb(150, 49, 178)
HSLhsl(287, 57%, 45%)
HSVhsv(287, 72%, 70%)
CMYKcmyk(15.7%, 72.5%, 0%, 30.2%)
CIE-LABlab(41.05, 59.74, -48.67)
CIE-LCHlch(41.05, 77.05, 320.83°)
OKLaboklab(51.81% 0.1513 -0.1367)
OKLCHoklch(51.81% 0.204 317.9)
XYZxyz(21.7107, 11.8960, 43.2634)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9631B2 #4DB231
analogous
#5631B2 #9631B2 #B2318D
triadic
#9631B2 #B29631 #31B296
tetradic
#9631B2 #B25631 #4DB231 #318DB2
square
#9631B2 #B25631 #4DB231 #318DB2
split-complementary
#9631B2 #8DB231 #31B256
monochromatic
#451752 #6E2482 #9631B2 #B451CF #C981DC

Accessibility & contrast

On white

6.21
#9631B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#9631B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9631B2
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9631B2#FFFFFF#000000##FFFFFF
##9631B21.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3664AF
Tritanopia (blue-blind)
#954B6F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9631b2;
/* rgb */ color: rgb(150, 49, 178);
/* oklch */ color: oklch(51.8% 0.204 317.9);
Tailwind
colors: {
  custom: {
    50: '#b973ca',
    500: '#9631b2',
    950: '#000000',
  },
}
SCSS
$custom: #9631b2;
$custom-light: #b973ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9631b2",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 178
  },
  "hsl": {
    "h": 286.977,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.20391,
    "h": 317.9
  },
  "luminance": 0.11895
}

Semantic roles & 50–950 ramp

primary
#9631B2
secondary
#8AC579
accent
#E04869
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9631B2

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

Preview Lab → · Contrast checker → · Palette generator →

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