#9638BC#9638BC

#9638BC is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.2% C 0.205 H 314.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9638BC
RGBrgb(150, 56, 188)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 74%)
CMYKcmyk(20.2%, 70.2%, 0%, 26.3%)
CIE-LABlab(42.68, 58.96, -51.94)
CIE-LCHlch(42.68, 78.57, 318.62°)
OKLaboklab(53.18% 0.1432 -0.1463)
OKLCHoklch(53.18% 0.205 314.4)
XYZxyz(23.0674, 12.9440, 48.8505)
Luminance0.1294 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638BC #5EBC38
analogous
#5438BC #9638BC #BC38A0
triadic
#9638BC #BC9638 #38BC96
tetradic
#9638BC #BC5438 #5EBC38 #38A0BC
square
#9638BC #BC5438 #5EBC38 #38A0BC
split-complementary
#9638BC #A0BC38 #38BC54
monochromatic
#4B1C5E #702A8D #9638BC #B061D0 #C890DE

Accessibility & contrast

On white

5.85
#9638BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9638BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638BC#FFFFFF#000000##FFFFFF
##9638BC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3267B9
Tritanopia (blue-blind)
#935376
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9638bc;
/* rgb */ color: rgb(150, 56, 188);
/* oklch */ color: oklch(53.2% 0.205 314.4);
Tailwind
colors: {
  custom: {
    50: '#b977d1',
    500: '#9638bc',
    950: '#000000',
  },
}
SCSS
$custom: #9638bc;
$custom-light: #b977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9638bc",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 282.727,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.5318,
    "c": 0.20478,
    "h": 314.4
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#9638BC
secondary
#9AC987
accent
#DD4A75
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9638BC

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

Preview Lab → · Contrast checker → · Palette generator →

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