#9738C2#9738C2

#9738C2 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 53.7% C 0.211 H 313.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9738C2
RGBrgb(151, 56, 194)
HSLhsl(281, 55%, 49%)
HSVhsv(281, 71%, 76%)
CMYKcmyk(22.2%, 71.1%, 0%, 23.9%)
CIE-LABlab(43.22, 60.40, -54.57)
CIE-LCHlch(43.22, 81.40, 317.90°)
OKLaboklab(53.72% 0.1439 -0.154)
OKLCHoklch(53.72% 0.211 313)
XYZxyz(23.9126, 13.3034, 52.3366)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738C2 #63C238
analogous
#5238C2 #9738C2 #C238A8
triadic
#9738C2 #C29738 #38C297
tetradic
#9738C2 #C25238 #63C238 #38A8C2
square
#9738C2 #C25238 #63C238 #38A8C2
split-complementary
#9738C2 #A8C238 #38C252
monochromatic
#4D1D63 #722A93 #9738C2 #B065D2 #C994E0

Accessibility & contrast

On white

5.74
#9738C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9738C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738C2#FFFFFF#000000##FFFFFF
##9738C21.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#925679
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9738c2;
/* rgb */ color: rgb(151, 56, 194);
/* oklch */ color: oklch(53.7% 0.211 313.0);
Tailwind
colors: {
  custom: {
    50: '#ba77d5',
    500: '#9738c2',
    950: '#000000',
  },
}
SCSS
$custom: #9738c2;
$custom-light: #ba77d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9738c2",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 281.304,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.53719,
    "c": 0.21077,
    "h": 313
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#9738C2
secondary
#9FCB8A
accent
#DF4978
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9738C2

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

Preview Lab → · Contrast checker → · Palette generator →

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