#9738BB#9738BB

#9738BB is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.2% C 0.204 H 315.1°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9738BB
RGBrgb(151, 56, 187)
HSLhsl(284, 54%, 48%)
HSVhsv(284, 70%, 73%)
CMYKcmyk(19.3%, 70.1%, 0%, 26.7%)
CIE-LABlab(42.76, 58.96, -51.22)
CIE-LCHlch(42.76, 78.10, 319.02°)
OKLaboklab(53.25% 0.1446 -0.1442)
OKLCHoklch(53.25% 0.204 315.1)
XYZxyz(23.1449, 12.9963, 48.2934)
Luminance0.1300 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738BB #5CBB38
analogous
#5538BB #9738BB #BB389E
triadic
#9738BB #BB9738 #38BB97
tetradic
#9738BB #BB5538 #5CBB38 #389EBB
square
#9738BB #BB5538 #5CBB38 #389EBB
split-complementary
#9738BB #9EBB38 #38BB55
monochromatic
#4B1C5D #712A8C #9738BB #B161D0 #C890DE

Accessibility & contrast

On white

5.83
#9738BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9738BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738BB
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738BB#FFFFFF#000000##FFFFFF
##9738BB1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060BF
Deuteranopia (green-blind)
#3467B8
Tritanopia (blue-blind)
#945376
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9738bb;
/* rgb */ color: rgb(151, 56, 187);
/* oklch */ color: oklch(53.2% 0.204 315.1);
Tailwind
colors: {
  custom: {
    50: '#b977d0',
    500: '#9738bb',
    950: '#000000',
  },
}
SCSS
$custom: #9738bb;
$custom-light: #b977d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9738bb",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 187
  },
  "hsl": {
    "h": 283.511,
    "s": 53.909,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53246,
    "c": 0.20421,
    "h": 315.1
  },
  "luminance": 0.12996
}

Semantic roles & 50–950 ramp

primary
#9738BB
secondary
#99C886
accent
#DD4B73
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9738BB

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

Preview Lab → · Contrast checker → · Palette generator →

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