#9738C3#9738C3

#9738C3 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.8% C 0.212 H 312.8°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#9738C3
RGBrgb(151, 56, 195)
HSLhsl(281, 55%, 49%)
HSVhsv(281, 71%, 76%)
CMYKcmyk(22.6%, 71.3%, 0%, 23.5%)
CIE-LABlab(43.28, 60.61, -55.04)
CIE-LCHlch(43.28, 81.87, 317.75°)
OKLaboklab(53.79% 0.1438 -0.1554)
OKLCHoklch(53.79% 0.212 312.8)
XYZxyz(24.0252, 13.3485, 52.9301)
Luminance0.1335 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738C3 #64C338
analogous
#5238C3 #9738C3 #C338AA
triadic
#9738C3 #C39738 #38C397
tetradic
#9738C3 #C35238 #64C338 #38AAC3
square
#9738C3 #C35238 #64C338 #38AAC3
split-complementary
#9738C3 #AAC338 #38C352
monochromatic
#4D1D64 #722A93 #9738C3 #B065D3 #C995E1

Accessibility & contrast

On white

5.72
#9738C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9738C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738C3#FFFFFF#000000##FFFFFF
##9738C31.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#2A68C0
Tritanopia (blue-blind)
#92567A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9738c3;
/* rgb */ color: rgb(151, 56, 195);
/* oklch */ color: oklch(53.8% 0.212 312.8);
Tailwind
colors: {
  custom: {
    50: '#ba77d6',
    500: '#9738c3',
    950: '#000000',
  },
}
SCSS
$custom: #9738c3;
$custom-light: #ba77d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9738c3",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 281.007,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53788,
    "c": 0.21171,
    "h": 312.8
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#9738C3
secondary
#A0CC8B
accent
#DF4978
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9738C3

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

Preview Lab → · Contrast checker → · Palette generator →

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