#9638AC#9638AC

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

Color values

HEX#9638AC
RGBrgb(150, 56, 172)
HSLhsl(289, 51%, 45%)
HSVhsv(289, 67%, 67%)
CMYKcmyk(12.8%, 67.4%, 0%, 32.5%)
CIE-LABlab(41.68, 55.75, -44.11)
CIE-LCHlch(41.68, 71.09, 321.65°)
OKLaboklab(52.14% 0.1443 -0.1234)
OKLCHoklch(52.14% 0.19 319.4)
XYZxyz(21.4373, 12.2919, 40.2651)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638AC #4EAC38
analogous
#5C38AC #9638AC #AC3888
triadic
#9638AC #AC9638 #38AC96
tetradic
#9638AC #AC5C38 #4EAC38 #3888AC
square
#9638AC #AC5C38 #4EAC38 #3888AC
split-complementary
#9638AC #88AC38 #38AC5C
monochromatic
#451A50 #6E297E #9638AC #B358C9 #C887D8

Accessibility & contrast

On white

6.07
#9638AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9638AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638AC#FFFFFF#000000##FFFFFF
##9638AC1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C5CAF
Deuteranopia (green-blind)
#4066A9
Tritanopia (blue-blind)
#964D6D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9638ac;
/* rgb */ color: rgb(150, 56, 172);
/* oklch */ color: oklch(52.1% 0.190 319.4);
Tailwind
colors: {
  custom: {
    50: '#b876c5',
    500: '#9638ac',
    950: '#000000',
  },
}
SCSS
$custom: #9638ac;
$custom-light: #b876c5;
$custom-dark: #000000;
JSON
{
  "hex": "#9638ac",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 172
  },
  "hsl": {
    "h": 288.621,
    "s": 50.877,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52142,
    "c": 0.18986,
    "h": 319.4
  },
  "luminance": 0.12291
}

Semantic roles & 50–950 ramp

primary
#9638AC
secondary
#8BC27E
accent
#DA4D68
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638AC

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

Preview Lab → · Contrast checker → · Palette generator →

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