#9738B4#9738B4

#9738B4 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.8% C 0.198 H 317.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9738B4
RGBrgb(151, 56, 180)
HSLhsl(286, 53%, 46%)
HSVhsv(286, 69%, 71%)
CMYKcmyk(16.1%, 68.9%, 0%, 29.4%)
CIE-LABlab(42.31, 57.56, -47.82)
CIE-LCHlch(42.31, 74.83, 320.28°)
OKLaboklab(52.79% 0.1451 -0.1342)
OKLCHoklch(52.79% 0.198 317.2)
XYZxyz(22.4137, 12.7039, 44.4426)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738B4 #55B438
analogous
#5938B4 #9738B4 #B43893
triadic
#9738B4 #B49738 #38B497
tetradic
#9738B4 #B45938 #55B438 #3893B4
square
#9738B4 #B45938 #55B438 #3893B4
split-complementary
#9738B4 #93B438 #38B459
monochromatic
#491B57 #702985 #9738B4 #B25DCD #C88BDB

Accessibility & contrast

On white

5.93
#9738B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9738B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738B4
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738B4#FFFFFF#000000##FFFFFF
##9738B41.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EB8
Deuteranopia (green-blind)
#3B67B1
Tritanopia (blue-blind)
#965072
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9738b4;
/* rgb */ color: rgb(151, 56, 180);
/* oklch */ color: oklch(52.8% 0.198 317.2);
Tailwind
colors: {
  custom: {
    50: '#b976cb',
    500: '#9738b4',
    950: '#000000',
  },
}
SCSS
$custom: #9738b4;
$custom-light: #b976cb;
$custom-dark: #000000;
JSON
{
  "hex": "#9738b4",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 180
  },
  "hsl": {
    "h": 285.968,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.52786,
    "c": 0.19768,
    "h": 317.2
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#9738B4
secondary
#92C582
accent
#DC4C6E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9738B4

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

Preview Lab → · Contrast checker → · Palette generator →

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