#9638BB#9638BB

#9638BB is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.204 H 314.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9638BB
RGBrgb(150, 56, 187)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 73%)
CMYKcmyk(19.8%, 70.1%, 0%, 26.7%)
CIE-LABlab(42.61, 58.75, -51.46)
CIE-LCHlch(42.61, 78.10, 318.79°)
OKLaboklab(53.11% 0.1433 -0.1449)
OKLCHoklch(53.11% 0.204 314.7)
XYZxyz(22.9600, 12.9010, 48.2848)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638BB #5DBB38
analogous
#5438BB #9638BB #BB389F
triadic
#9638BB #BB9638 #38BB96
tetradic
#9638BB #BB5438 #5DBB38 #389FBB
square
#9638BB #BB5438 #5DBB38 #389FBB
split-complementary
#9638BB #9FBB38 #38BB54
monochromatic
#4A1C5D #702A8C #9638BB #B061D0 #C890DE

Accessibility & contrast

On white

5.87
#9638BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9638BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638BB#FFFFFF#000000##FFFFFF
##9638BB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#3367B8
Tritanopia (blue-blind)
#935376
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9638bb;
/* rgb */ color: rgb(150, 56, 187);
/* oklch */ color: oklch(53.1% 0.204 314.7);
Tailwind
colors: {
  custom: {
    50: '#b977d0',
    500: '#9638bb',
    950: '#000000',
  },
}
SCSS
$custom: #9638bb;
$custom-light: #b977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9638bb",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 283.053,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.20384,
    "h": 314.7
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#9638BB
secondary
#99C886
accent
#DD4B74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9638BB

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

Preview Lab → · Contrast checker → · Palette generator →

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