#9738AA#9738AA

#9738AA is a mid, vivid purple. Relative luminance 0.123; OKLCH L 52.2% C 0.188 H 320.5°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#9738AA
RGBrgb(151, 56, 170)
HSLhsl(290, 50%, 44%)
HSVhsv(290, 67%, 67%)
CMYKcmyk(11.2%, 67.1%, 0%, 33.3%)
CIE-LABlab(41.71, 55.59, -42.87)
CIE-LCHlch(41.71, 70.20, 322.36°)
OKLaboklab(52.15% 0.1455 -0.1198)
OKLCHoklch(52.15% 0.188 320.5)
XYZxyz(21.4315, 12.3110, 39.2698)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738AA #4BAA38
analogous
#5E38AA #9738AA #AA3884
triadic
#9738AA #AA9738 #38AA97
tetradic
#9738AA #AA5E38 #4BAA38 #3884AA
square
#9738AA #AA5E38 #4BAA38 #3884AA
split-complementary
#9738AA #84AA38 #38AA5E
monochromatic
#451A4E #6E297C #9738AA #B557C8 #C985D7

Accessibility & contrast

On white

6.07
#9738AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9738AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738AA#FFFFFF#000000##FFFFFF
##9738AA1.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135CAD
Deuteranopia (green-blind)
#4366A7
Tritanopia (blue-blind)
#984C6C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9738aa;
/* rgb */ color: rgb(151, 56, 170);
/* oklch */ color: oklch(52.2% 0.188 320.5);
Tailwind
colors: {
  custom: {
    50: '#b976c4',
    500: '#9738aa',
    950: '#000000',
  },
}
SCSS
$custom: #9738aa;
$custom-light: #b976c4;
$custom-dark: #000000;
JSON
{
  "hex": "#9738aa",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 170
  },
  "hsl": {
    "h": 290,
    "s": 50.442,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.18847,
    "h": 320.5
  },
  "luminance": 0.1231
}

Semantic roles & 50–950 ramp

primary
#9738AA
secondary
#88C17D
accent
#DA4E65
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9738AA

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

Preview Lab → · Contrast checker → · Palette generator →

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