#9638C5#9638C5

#9638C5 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.213 H 311.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9638C5
RGBrgb(150, 56, 197)
HSLhsl(280, 56%, 50%)
HSVhsv(280, 72%, 77%)
CMYKcmyk(23.9%, 71.6%, 0%, 22.7%)
CIE-LABlab(43.28, 60.82, -56.23)
CIE-LCHlch(43.28, 82.83, 317.25°)
OKLaboklab(53.8% 0.1422 -0.1589)
OKLCHoklch(53.8% 0.213 311.8)
XYZxyz(24.0680, 13.3442, 54.1203)
Luminance0.1334 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C5 #67C538
analogous
#5038C5 #9638C5 #C538AE
triadic
#9638C5 #C59638 #38C596
tetradic
#9638C5 #C55038 #67C538 #38AEC5
square
#9638C5 #C55038 #67C538 #38AEC5
split-complementary
#9638C5 #AEC538 #38C550
monochromatic
#4D1D66 #722A95 #9638C5 #AF67D4 #C896E1

Accessibility & contrast

On white

5.72
#9638C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9638C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C5
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C5#FFFFFF#000000##FFFFFF
##9638C51.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2568C2
Tritanopia (blue-blind)
#90577B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9638c5;
/* rgb */ color: rgb(150, 56, 197);
/* oklch */ color: oklch(53.8% 0.213 311.8);
Tailwind
colors: {
  custom: {
    50: '#b977d7',
    500: '#9638c5',
    950: '#000000',
  },
}
SCSS
$custom: #9638c5;
$custom-light: #b977d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c5",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 280,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53797,
    "c": 0.21327,
    "h": 311.8
  },
  "luminance": 0.13344
}

Semantic roles & 50–950 ramp

primary
#9638C5
secondary
#A2CD8C
accent
#DF497B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9638C5

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

Preview Lab → · Contrast checker → · Palette generator →

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