#9738BF#9738BF

#9738BF is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.5% C 0.208 H 313.9°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9738BF
RGBrgb(151, 56, 191)
HSLhsl(282, 55%, 48%)
HSVhsv(282, 71%, 75%)
CMYKcmyk(20.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(43.02, 59.78, -53.14)
CIE-LCHlch(43.02, 79.98, 318.37°)
OKLaboklab(53.52% 0.1442 -0.1498)
OKLCHoklch(53.52% 0.208 313.9)
XYZxyz(23.5790, 13.1700, 50.5801)
Luminance0.1317 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738BF #60BF38
analogous
#5338BF #9738BF #BF38A3
triadic
#9738BF #BF9738 #38BF97
tetradic
#9738BF #BF5338 #60BF38 #38A3BF
square
#9738BF #BF5338 #60BF38 #38A3BF
split-complementary
#9738BF #A3BF38 #38BF53
monochromatic
#4C1C60 #722A90 #9738BF #B163D1 #C892DF

Accessibility & contrast

On white

5.78
#9738BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9738BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738BF#FFFFFF#000000##FFFFFF
##9738BF1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C3
Deuteranopia (green-blind)
#2F68BC
Tritanopia (blue-blind)
#935478
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9738bf;
/* rgb */ color: rgb(151, 56, 191);
/* oklch */ color: oklch(53.5% 0.208 313.9);
Tailwind
colors: {
  custom: {
    50: '#ba77d3',
    500: '#9738bf',
    950: '#000000',
  },
}
SCSS
$custom: #9738bf;
$custom-light: #ba77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9738bf",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 282.222,
    "s": 54.656,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53515,
    "c": 0.20796,
    "h": 313.9
  },
  "luminance": 0.13169
}

Semantic roles & 50–950 ramp

primary
#9738BF
secondary
#9CCA89
accent
#DE4A76
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9738BF

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

Preview Lab → · Contrast checker → · Palette generator →

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