#9638B4#9638B4

#9638B4 is a mid, vivid purple. Relative luminance 0.126; OKLCH L 52.7% C 0.197 H 316.8°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9638B4
RGBrgb(150, 56, 180)
HSLhsl(285, 53%, 46%)
HSVhsv(285, 69%, 71%)
CMYKcmyk(16.7%, 68.9%, 0%, 29.4%)
CIE-LABlab(42.17, 57.33, -48.06)
CIE-LCHlch(42.17, 74.81, 320.03°)
OKLaboklab(52.65% 0.1439 -0.135)
OKLCHoklch(52.65% 0.197 316.8)
XYZxyz(22.2288, 12.6086, 44.4339)
Luminance0.1261 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638B4 #56B438
analogous
#5838B4 #9638B4 #B43894
triadic
#9638B4 #B49638 #38B496
tetradic
#9638B4 #B45838 #56B438 #3894B4
square
#9638B4 #B45838 #56B438 #3894B4
split-complementary
#9638B4 #94B438 #38B458
monochromatic
#481B57 #6F2985 #9638B4 #B15DCD #C88BDB

Accessibility & contrast

On white

5.96
#9638B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9638B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638B4#FFFFFF#000000##FFFFFF
##9638B41.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3A66B1
Tritanopia (blue-blind)
#945072
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9638b4;
/* rgb */ color: rgb(150, 56, 180);
/* oklch */ color: oklch(52.7% 0.197 316.8);
Tailwind
colors: {
  custom: {
    50: '#b876cb',
    500: '#9638b4',
    950: '#000000',
  },
}
SCSS
$custom: #9638b4;
$custom-light: #b876cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9638b4",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 285.484,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52652,
    "c": 0.19728,
    "h": 316.8
  },
  "luminance": 0.12608
}

Semantic roles & 50–950 ramp

primary
#9638B4
secondary
#93C582
accent
#DC4C6F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9638B4

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

Preview Lab → · Contrast checker → · Palette generator →

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