#9738B7#9738B7

#9738B7 is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.0% C 0.200 H 316.3°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9738B7
RGBrgb(151, 56, 183)
HSLhsl(285, 53%, 47%)
HSVhsv(285, 69%, 72%)
CMYKcmyk(17.5%, 69.4%, 0%, 28.2%)
CIE-LABlab(42.50, 58.16, -49.28)
CIE-LCHlch(42.50, 76.23, 319.72°)
OKLaboklab(52.98% 0.1449 -0.1385)
OKLCHoklch(52.98% 0.2 316.3)
XYZxyz(22.7226, 12.8274, 46.0696)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738B7 #58B738
analogous
#5838B7 #9738B7 #B73898
triadic
#9738B7 #B79738 #38B797
tetradic
#9738B7 #B75838 #58B738 #3898B7
square
#9738B7 #B75838 #58B738 #3898B7
split-complementary
#9738B7 #98B738 #38B758
monochromatic
#4A1B59 #702A88 #9738B7 #B25ECE #C88DDC

Accessibility & contrast

On white

5.89
#9738B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9738B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738B7
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738B7#FFFFFF#000000##FFFFFF
##9738B71.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBB
Deuteranopia (green-blind)
#3867B4
Tritanopia (blue-blind)
#955173
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9738b7;
/* rgb */ color: rgb(151, 56, 183);
/* oklch */ color: oklch(53.0% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#b977cd',
    500: '#9738b7',
    950: '#000000',
  },
}
SCSS
$custom: #9738b7;
$custom-light: #b977cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9738b7",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 284.882,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.52981,
    "c": 0.20047,
    "h": 316.3
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#9738B7
secondary
#95C784
accent
#DD4B70
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9738B7

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

Preview Lab → · Contrast checker → · Palette generator →

#9738B7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva