#9638B2#9638B2

#9638B2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.195 H 317.5°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#9638B2
RGBrgb(150, 56, 178)
HSLhsl(286, 52%, 46%)
HSVhsv(286, 69%, 70%)
CMYKcmyk(15.7%, 68.5%, 0%, 30.2%)
CIE-LABlab(42.04, 56.93, -47.08)
CIE-LCHlch(42.04, 73.88, 320.41°)
OKLaboklab(52.52% 0.144 -0.1321)
OKLCHoklch(52.52% 0.195 317.5)
XYZxyz(22.0266, 12.5277, 43.3687)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638B2 #54B238
analogous
#5938B2 #9638B2 #B23891
triadic
#9638B2 #B29638 #38B296
tetradic
#9638B2 #B25938 #54B238 #3891B2
square
#9638B2 #B25938 #54B238 #3891B2
split-complementary
#9638B2 #91B238 #38B259
monochromatic
#481B55 #6F2983 #9638B2 #B25CCC #C88ADA

Accessibility & contrast

On white

5.99
#9638B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9638B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638B2
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638B2#FFFFFF#000000##FFFFFF
##9638B21.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DB6
Deuteranopia (green-blind)
#3C66AF
Tritanopia (blue-blind)
#954F71
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9638b2;
/* rgb */ color: rgb(150, 56, 178);
/* oklch */ color: oklch(52.5% 0.195 317.5);
Tailwind
colors: {
  custom: {
    50: '#b876ca',
    500: '#9638b2',
    950: '#000000',
  },
}
SCSS
$custom: #9638b2;
$custom-light: #b876ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9638b2",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 286.23,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52522,
    "c": 0.19541,
    "h": 317.5
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#9638B2
secondary
#91C581
accent
#DC4C6D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638B2

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

Preview Lab → · Contrast checker → · Palette generator →

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