#9738BD#9738BD

#9738BD is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.4% C 0.206 H 314.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9738BD
RGBrgb(151, 56, 189)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 74%)
CMYKcmyk(20.1%, 70.4%, 0%, 25.9%)
CIE-LABlab(42.89, 59.37, -52.18)
CIE-LCHlch(42.89, 79.04, 318.69°)
OKLaboklab(53.38% 0.1444 -0.147)
OKLCHoklch(53.38% 0.206 314.5)
XYZxyz(23.3604, 13.0826, 49.4289)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738BD #5EBD38
analogous
#5438BD #9738BD #BD38A0
triadic
#9738BD #BD9738 #38BD97
tetradic
#9738BD #BD5438 #5EBD38 #38A0BD
square
#9738BD #BD5438 #5EBD38 #38A0BD
split-complementary
#9738BD #A0BD38 #38BD54
monochromatic
#4C1C5F #712A8E #9738BD #B162D0 #C891DE

Accessibility & contrast

On white

5.81
#9738BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9738BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738BD
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738BD#FFFFFF#000000##FFFFFF
##9738BD1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#945477
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9738bd;
/* rgb */ color: rgb(151, 56, 189);
/* oklch */ color: oklch(53.4% 0.206 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba77d2',
    500: '#9738bd',
    950: '#000000',
  },
}
SCSS
$custom: #9738bd;
$custom-light: #ba77d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9738bd",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 282.857,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5338,
    "c": 0.20607,
    "h": 314.5
  },
  "luminance": 0.13082
}

Semantic roles & 50–950 ramp

primary
#9738BD
secondary
#9AC987
accent
#DE4A74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9738BD

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

Preview Lab → · Contrast checker → · Palette generator →

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