#9638AF#9638AF

#9638AF is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.3% C 0.193 H 318.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#9638AF
RGBrgb(150, 56, 175)
HSLhsl(287, 52%, 45%)
HSVhsv(287, 68%, 69%)
CMYKcmyk(14.3%, 68%, 0%, 31.4%)
CIE-LABlab(41.86, 56.34, -45.60)
CIE-LCHlch(41.86, 72.48, 321.01°)
OKLaboklab(52.33% 0.1442 -0.1278)
OKLCHoklch(52.33% 0.193 318.4)
XYZxyz(21.7287, 12.4085, 41.7997)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9638AF #51AF38
analogous
#5A38AF #9638AF #AF388C
triadic
#9638AF #AF9638 #38AF96
tetradic
#9638AF #AF5A38 #51AF38 #388CAF
square
#9638AF #AF5A38 #51AF38 #388CAF
split-complementary
#9638AF #8CAF38 #38AF5A
monochromatic
#471A52 #6E2981 #9638AF #B35ACA #C888D9

Accessibility & contrast

On white

6.03
#9638AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#9638AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9638AF
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9638AF#FFFFFF#000000##FFFFFF
##9638AF1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#015DB2
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#964E6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9638af;
/* rgb */ color: rgb(150, 56, 175);
/* oklch */ color: oklch(52.3% 0.193 318.4);
Tailwind
colors: {
  custom: {
    50: '#b876c7',
    500: '#9638af',
    950: '#000000',
  },
}
SCSS
$custom: #9638af;
$custom-light: #b876c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9638af",
  "rgb": {
    "r": 150,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 287.395,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52331,
    "c": 0.19263,
    "h": 318.4
  },
  "luminance": 0.12408
}

Semantic roles & 50–950 ramp

primary
#9638AF
secondary
#8EC380
accent
#DB4D6B
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9638AF

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

Preview Lab → · Contrast checker → · Palette generator →

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