#9738B9#9738B9

#9738B9 is a mid, highly saturated purple. Relative luminance 0.129; OKLCH L 53.1% C 0.202 H 315.7°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#9738B9
RGBrgb(151, 56, 185)
HSLhsl(284, 54%, 47%)
HSVhsv(284, 70%, 73%)
CMYKcmyk(18.4%, 69.7%, 0%, 27.5%)
CIE-LABlab(42.63, 58.56, -50.25)
CIE-LCHlch(42.63, 77.16, 319.37°)
OKLaboklab(53.11% 0.1448 -0.1414)
OKLCHoklch(53.11% 0.202 315.7)
XYZxyz(22.9322, 12.9113, 47.1737)
Luminance0.1291 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738B9 #5AB938
analogous
#5738B9 #9738B9 #B9389B
triadic
#9738B9 #B99738 #38B997
tetradic
#9738B9 #B95738 #5AB938 #389BB9
square
#9738B9 #B95738 #5AB938 #389BB9
split-complementary
#9738B9 #9BB938 #38B957
monochromatic
#4A1C5B #712A8A #9738B9 #B15FCF #C88EDD

Accessibility & contrast

On white

5.86
#9738B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9738B9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738B9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738B9#FFFFFF#000000##FFFFFF
##9738B91.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#3667B6
Tritanopia (blue-blind)
#955274
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9738b9;
/* rgb */ color: rgb(151, 56, 185);
/* oklch */ color: oklch(53.1% 0.202 315.7);
Tailwind
colors: {
  custom: {
    50: '#b977cf',
    500: '#9738b9',
    950: '#000000',
  },
}
SCSS
$custom: #9738b9;
$custom-light: #b977cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9738b9",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 185
  },
  "hsl": {
    "h": 284.186,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.20234,
    "h": 315.7
  },
  "luminance": 0.1291
}

Semantic roles & 50–950 ramp

primary
#9738B9
secondary
#97C885
accent
#DD4B71
background
#FBF7FC
surface
#F7EEF9
border
#D0C9D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9738B9

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

Preview Lab → · Contrast checker → · Palette generator →

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