#9638AA#9638AA

#9638AA is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.0% C 0.188 H 320.1°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#9638AA
RGBrgb(150, 56, 170)
HSLhsl(289, 50%, 44%)
HSVhsv(289, 67%, 67%)
CMYKcmyk(11.8%, 67.1%, 0%, 33.3%)
CIE-LABlab(41.56, 55.36, -43.12)
CIE-LCHlch(41.56, 70.17, 322.09°)
OKLaboklab(52.02% 0.1443 -0.1205)
OKLCHoklch(52.02% 0.188 320.1)
XYZxyz(21.2467, 12.2157, 39.2611)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638AA #4CAA38
analogous
#5D38AA #9638AA #AA3885
triadic
#9638AA #AA9638 #38AA96
tetradic
#9638AA #AA5D38 #4CAA38 #3885AA
square
#9638AA #AA5D38 #4CAA38 #3885AA
split-complementary
#9638AA #85AA38 #38AA5D
monochromatic
#451A4E #6D297C #9638AA #B457C8 #C985D7

Accessibility & contrast

On white

6.10
#9638AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#9638AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638AA#FFFFFF#000000##FFFFFF
##9638AA1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115CAD
Deuteranopia (green-blind)
#4265A7
Tritanopia (blue-blind)
#974C6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9638aa;
/* rgb */ color: rgb(150, 56, 170);
/* oklch */ color: oklch(52.0% 0.188 320.1);
Tailwind
colors: {
  custom: {
    50: '#b876c4',
    500: '#9638aa',
    950: '#000000',
  },
}
SCSS
$custom: #9638aa;
$custom-light: #b876c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9638aa",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 289.474,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52017,
    "c": 0.18802,
    "h": 320.1
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#9638AA
secondary
#89C17D
accent
#DA4E66
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638AA

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

Preview Lab → · Contrast checker → · Palette generator →

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