#9638AB#9638AB

#9638AB is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.1% C 0.189 H 319.8°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#9638AB
RGBrgb(150, 56, 171)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 67%, 67%)
CMYKcmyk(12.3%, 67.3%, 0%, 32.9%)
CIE-LABlab(41.62, 55.55, -43.62)
CIE-LCHlch(41.62, 70.63, 321.86°)
OKLaboklab(52.08% 0.1443 -0.122)
OKLCHoklch(52.08% 0.189 319.8)
XYZxyz(21.3416, 12.2537, 39.7612)
Luminance0.1225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638AB #4DAB38
analogous
#5C38AB #9638AB #AB3887
triadic
#9638AB #AB9638 #38AB96
tetradic
#9638AB #AB5C38 #4DAB38 #3887AB
square
#9638AB #AB5C38 #4DAB38 #3887AB
split-complementary
#9638AB #87AB38 #38AB5C
monochromatic
#451A4F #6E297D #9638AB #B458C8 #C986D7

Accessibility & contrast

On white

6.09
#9638AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#9638AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638AB
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638AB#FFFFFF#000000##FFFFFF
##9638AB1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5CAE
Deuteranopia (green-blind)
#4165A8
Tritanopia (blue-blind)
#964C6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9638ab;
/* rgb */ color: rgb(150, 56, 171);
/* oklch */ color: oklch(52.1% 0.189 319.8);
Tailwind
colors: {
  custom: {
    50: '#b876c4',
    500: '#9638ab',
    950: '#000000',
  },
}
SCSS
$custom: #9638ab;
$custom-light: #b876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9638ab",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 171
  },
  "hsl": {
    "h": 289.043,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52079,
    "c": 0.18893,
    "h": 319.8
  },
  "luminance": 0.12253
}

Semantic roles & 50–950 ramp

primary
#9638AB
secondary
#8AC17D
accent
#DA4E67
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638AB

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

Preview Lab → · Contrast checker → · Palette generator →

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