#9738AF#9738AF

#9738AF is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.5% C 0.193 H 318.9°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9738AF
RGBrgb(151, 56, 175)
HSLhsl(288, 52%, 45%)
HSVhsv(288, 68%, 69%)
CMYKcmyk(13.7%, 68%, 0%, 31.4%)
CIE-LABlab(42.01, 56.57, -45.36)
CIE-LCHlch(42.01, 72.51, 321.28°)
OKLaboklab(52.47% 0.1454 -0.127)
OKLCHoklch(52.47% 0.193 318.9)
XYZxyz(21.9135, 12.5038, 41.8083)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AF #50AF38
analogous
#5B38AF #9738AF #AF388B
triadic
#9738AF #AF9738 #38AF97
tetradic
#9738AF #AF5B38 #50AF38 #388BAF
square
#9738AF #AF5B38 #50AF38 #388BAF
split-complementary
#9738AF #8BAF38 #38AF5B
monochromatic
#471A52 #6F2981 #9738AF #B45ACA #C988D9

Accessibility & contrast

On white

6.00
#9738AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9738AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9738AF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9738AF#FFFFFF#000000##FFFFFF
##9738AF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035DB2
Deuteranopia (green-blind)
#3F66AC
Tritanopia (blue-blind)
#974E6F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9738af;
/* rgb */ color: rgb(151, 56, 175);
/* oklch */ color: oklch(52.5% 0.193 318.9);
Tailwind
colors: {
  custom: {
    50: '#b976c7',
    500: '#9738af',
    950: '#000000',
  },
}
SCSS
$custom: #9738af;
$custom-light: #b976c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9738af",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 287.899,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.19305,
    "h": 318.9
  },
  "luminance": 0.12503
}

Semantic roles & 50–950 ramp

primary
#9738AF
secondary
#8DC380
accent
#DB4D69
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AF

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

Preview Lab → · Contrast checker → · Palette generator →

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