#9638BF#9638BF

#9638BF is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.208 H 313.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9638BF
RGBrgb(150, 56, 191)
HSLhsl(282, 55%, 48%)
HSVhsv(282, 71%, 75%)
CMYKcmyk(21.5%, 70.7%, 0%, 25.1%)
CIE-LABlab(42.88, 59.57, -53.38)
CIE-LCHlch(42.88, 79.99, 318.14°)
OKLaboklab(53.38% 0.1429 -0.1506)
OKLCHoklch(53.38% 0.208 313.5)
XYZxyz(23.3942, 13.0747, 50.5714)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638BF #61BF38
analogous
#5238BF #9638BF #BF38A4
triadic
#9638BF #BF9638 #38BF96
tetradic
#9638BF #BF5238 #61BF38 #38A4BF
square
#9638BF #BF5238 #61BF38 #38A4BF
split-complementary
#9638BF #A4BF38 #38BF52
monochromatic
#4C1C60 #712A90 #9638BF #B063D1 #C892DF

Accessibility & contrast

On white

5.81
#9638BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9638BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9638BF#FFFFFF#000000##FFFFFF
##9638BF1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2E67BC
Tritanopia (blue-blind)
#925578
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9638bf;
/* rgb */ color: rgb(150, 56, 191);
/* oklch */ color: oklch(53.4% 0.208 313.5);
Tailwind
colors: {
  custom: {
    50: '#b977d3',
    500: '#9638bf',
    950: '#000000',
  },
}
SCSS
$custom: #9638bf;
$custom-light: #b977d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9638bf",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 281.778,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53384,
    "c": 0.20761,
    "h": 313.5
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#9638BF
secondary
#9DCA89
accent
#DE4A77
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9638BF

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

Preview Lab → · Contrast checker → · Palette generator →

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