#9738C5#9738C5

#9738C5 is a mid, highly saturated purple. Relative luminance 0.134; OKLCH L 53.9% C 0.214 H 312.2°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9738C5
RGBrgb(151, 56, 197)
HSLhsl(280, 56%, 50%)
HSVhsv(280, 72%, 77%)
CMYKcmyk(23.4%, 71.6%, 0%, 22.7%)
CIE-LABlab(43.42, 61.02, -55.99)
CIE-LCHlch(43.42, 82.82, 317.46°)
OKLaboklab(53.93% 0.1435 -0.1582)
OKLCHoklch(53.93% 0.214 312.2)
XYZxyz(24.2529, 13.4395, 54.1290)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738C5 #66C538
analogous
#5138C5 #9738C5 #C538AC
triadic
#9738C5 #C59738 #38C597
tetradic
#9738C5 #C55138 #66C538 #38ACC5
square
#9738C5 #C55138 #66C538 #38ACC5
split-complementary
#9738C5 #ACC538 #38C551
monochromatic
#4E1D66 #722A95 #9738C5 #B067D4 #C996E1

Accessibility & contrast

On white

5.69
#9738C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9738C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738C5#FFFFFF#000000##FFFFFF
##9738C51.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#2768C2
Tritanopia (blue-blind)
#92577B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9738c5;
/* rgb */ color: rgb(151, 56, 197);
/* oklch */ color: oklch(53.9% 0.214 312.2);
Tailwind
colors: {
  custom: {
    50: '#ba77d7',
    500: '#9738c5',
    950: '#000000',
  },
}
SCSS
$custom: #9738c5;
$custom-light: #ba77d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9738c5",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 197
  },
  "hsl": {
    "h": 280.426,
    "s": 55.731,
    "l": 49.608
  },
  "oklch": {
    "l": 0.53927,
    "c": 0.21359,
    "h": 312.2
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#9738C5
secondary
#A1CD8C
accent
#DF497A
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9738C5

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

Preview Lab → · Contrast checker → · Palette generator →

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