#9738BC#9738BC

#9738BC is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.205 H 314.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9738BC
RGBrgb(151, 56, 188)
HSLhsl(283, 54%, 48%)
HSVhsv(283, 70%, 74%)
CMYKcmyk(19.7%, 70.2%, 0%, 26.3%)
CIE-LABlab(42.82, 59.17, -51.70)
CIE-LCHlch(42.82, 78.57, 318.85°)
OKLaboklab(53.31% 0.1445 -0.1456)
OKLCHoklch(53.31% 0.205 314.8)
XYZxyz(23.2523, 13.0393, 48.8592)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738BC #5DBC38
analogous
#5538BC #9738BC #BC389F
triadic
#9738BC #BC9738 #38BC97
tetradic
#9738BC #BC5538 #5DBC38 #389FBC
square
#9738BC #BC5538 #5DBC38 #389FBC
split-complementary
#9738BC #9FBC38 #38BC55
monochromatic
#4B1C5E #712A8D #9738BC #B161D0 #C890DE

Accessibility & contrast

On white

5.82
#9738BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9738BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738BC
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738BC#FFFFFF#000000##FFFFFF
##9738BC1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#945376
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9738bc;
/* rgb */ color: rgb(151, 56, 188);
/* oklch */ color: oklch(53.3% 0.205 314.8);
Tailwind
colors: {
  custom: {
    50: '#b977d1',
    500: '#9738bc',
    950: '#000000',
  },
}
SCSS
$custom: #9738bc;
$custom-light: #b977d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9738bc",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 188
  },
  "hsl": {
    "h": 283.182,
    "s": 54.098,
    "l": 47.843
  },
  "oklch": {
    "l": 0.53313,
    "c": 0.20514,
    "h": 314.8
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#9738BC
secondary
#99C987
accent
#DD4A74
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9738BC

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

Preview Lab → · Contrast checker → · Palette generator →

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