#9738B5#9738B5

#9738B5 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.9% C 0.199 H 316.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9738B5
RGBrgb(151, 56, 181)
HSLhsl(286, 53%, 46%)
HSVhsv(286, 69%, 71%)
CMYKcmyk(16.6%, 69.1%, 0%, 29%)
CIE-LABlab(42.38, 57.75, -48.31)
CIE-LCHlch(42.38, 75.29, 320.09°)
OKLaboklab(52.85% 0.1451 -0.1357)
OKLCHoklch(52.85% 0.199 316.9)
XYZxyz(22.5159, 12.7448, 44.9811)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738B5 #56B538
analogous
#5938B5 #9738B5 #B53895
triadic
#9738B5 #B59738 #38B597
tetradic
#9738B5 #B55938 #56B538 #3895B5
square
#9738B5 #B55938 #56B538 #3895B5
split-complementary
#9738B5 #95B538 #38B559
monochromatic
#491B58 #702A86 #9738B5 #B25DCD #C88CDB

Accessibility & contrast

On white

5.92
#9738B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9738B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738B5
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738B5#FFFFFF#000000##FFFFFF
##9738B51.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9738b5;
/* rgb */ color: rgb(151, 56, 181);
/* oklch */ color: oklch(52.9% 0.199 316.9);
Tailwind
colors: {
  custom: {
    50: '#b976cc',
    500: '#9738b5',
    950: '#000000',
  },
}
SCSS
$custom: #9738b5;
$custom-light: #b976cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9738b5",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 181
  },
  "hsl": {
    "h": 285.6,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52851,
    "c": 0.19862,
    "h": 316.9
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#9738B5
secondary
#93C683
accent
#DC4C6E
background
#FBF7FC
surface
#F7EDF9
border
#D0C8D2
text
#120913
muted
#817B82

Preview Lab

Preview with #9738B5

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

Preview Lab → · Contrast checker → · Palette generator →

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