#9631B5#9631B5

#9631B5 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 317.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#9631B5
RGBrgb(150, 49, 181)
HSLhsl(286, 57%, 45%)
HSVhsv(286, 73%, 71%)
CMYKcmyk(17.1%, 72.9%, 0%, 29%)
CIE-LABlab(41.24, 60.32, -50.13)
CIE-LCHlch(41.24, 78.43, 320.27°)
OKLaboklab(52.01% 0.151 -0.141)
OKLCHoklch(52.01% 0.207 317)
XYZxyz(22.0152, 12.0178, 44.8671)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9631B5 #50B531
analogous
#5431B5 #9631B5 #B53192
triadic
#9631B5 #B59631 #31B596
tetradic
#9631B5 #B55431 #50B531 #3192B5
square
#9631B5 #B55431 #50B531 #3192B5
split-complementary
#9631B5 #92B531 #31B554
monochromatic
#461755 #6E2485 #9631B5 #B353D0 #C883DD

Accessibility & contrast

On white

6.17
#9631B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9631B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9631B5
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9631B5#FFFFFF#000000##FFFFFF
##9631B51.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB9
Deuteranopia (green-blind)
#3364B2
Tritanopia (blue-blind)
#944C70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9631b5;
/* rgb */ color: rgb(150, 49, 181);
/* oklch */ color: oklch(52.0% 0.207 317.0);
Tailwind
colors: {
  custom: {
    50: '#b973cc',
    500: '#9631b5',
    950: '#000000',
  },
}
SCSS
$custom: #9631b5;
$custom-light: #b973cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9631b5",
  "rgb": {
    "r": 150,
    "g": 49,
    "b": 181
  },
  "hsl": {
    "h": 285.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52013,
    "c": 0.2066,
    "h": 317
  },
  "luminance": 0.12017
}

Semantic roles & 50–950 ramp

primary
#9631B5
secondary
#8DC77B
accent
#E1476B
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9631B5

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

Preview Lab → · Contrast checker → · Palette generator →

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