#9638C2#9638C2

#9638C2 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.6% C 0.210 H 312.7°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9638C2
RGBrgb(150, 56, 194)
HSLhsl(281, 55%, 49%)
HSVhsv(281, 71%, 76%)
CMYKcmyk(22.7%, 71.1%, 0%, 23.9%)
CIE-LABlab(43.08, 60.20, -54.81)
CIE-LCHlch(43.08, 81.41, 317.68°)
OKLaboklab(53.59% 0.1426 -0.1548)
OKLCHoklch(53.59% 0.21 312.7)
XYZxyz(23.7277, 13.2081, 52.3280)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638C2 #64C238
analogous
#5138C2 #9638C2 #C238A9
triadic
#9638C2 #C29638 #38C296
tetradic
#9638C2 #C25138 #64C238 #38A9C2
square
#9638C2 #C25138 #64C238 #38A9C2
split-complementary
#9638C2 #A9C238 #38C251
monochromatic
#4D1D63 #712A93 #9638C2 #AF65D2 #C894E0

Accessibility & contrast

On white

5.77
#9638C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9638C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638C2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638C2#FFFFFF#000000##FFFFFF
##9638C21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2A68BF
Tritanopia (blue-blind)
#915679
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9638c2;
/* rgb */ color: rgb(150, 56, 194);
/* oklch */ color: oklch(53.6% 0.210 312.7);
Tailwind
colors: {
  custom: {
    50: '#b977d5',
    500: '#9638c2',
    950: '#000000',
  },
}
SCSS
$custom: #9638c2;
$custom-light: #b977d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9638c2",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 280.87,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.21044,
    "h": 312.7
  },
  "luminance": 0.13207
}

Semantic roles & 50–950 ramp

primary
#9638C2
secondary
#9FCB8A
accent
#DF4979
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9638C2

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

Preview Lab → · Contrast checker → · Palette generator →

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