#9638AD#9638AD

#9638AD is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.191 H 319.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9638AD
RGBrgb(150, 56, 173)
HSLhsl(288, 51%, 45%)
HSVhsv(288, 68%, 68%)
CMYKcmyk(13.3%, 67.6%, 0%, 32.2%)
CIE-LABlab(41.74, 55.95, -44.61)
CIE-LCHlch(41.74, 71.55, 321.43°)
OKLaboklab(52.2% 0.1442 -0.1249)
OKLCHoklch(52.2% 0.191 319.1)
XYZxyz(21.5337, 12.3305, 40.7728)
Luminance0.1233 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638AD #4FAD38
analogous
#5B38AD #9638AD #AD388A
triadic
#9638AD #AD9638 #38AD96
tetradic
#9638AD #AD5B38 #4FAD38 #388AAD
square
#9638AD #AD5B38 #4FAD38 #388AAD
split-complementary
#9638AD #8AAD38 #38AD5B
monochromatic
#461A51 #6E297F #9638AD #B359C9 #C887D8

Accessibility & contrast

On white

6.06
#9638AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9638AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638AD
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638AD#FFFFFF#000000##FFFFFF
##9638AD1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#085CB0
Deuteranopia (green-blind)
#4066AA
Tritanopia (blue-blind)
#964D6E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9638ad;
/* rgb */ color: rgb(150, 56, 173);
/* oklch */ color: oklch(52.2% 0.191 319.1);
Tailwind
colors: {
  custom: {
    50: '#b876c6',
    500: '#9638ad',
    950: '#000000',
  },
}
SCSS
$custom: #9638ad;
$custom-light: #b876c6;
$custom-dark: #000000;
JSON
{
  "hex": "#9638ad",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 288.205,
    "s": 51.092,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.19078,
    "h": 319.1
  },
  "luminance": 0.1233
}

Semantic roles & 50–950 ramp

primary
#9638AD
secondary
#8CC27F
accent
#DB4D69
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638AD

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

Preview Lab → · Contrast checker → · Palette generator →

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