#9738C7#9738C7

#9738C7 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.215 H 311.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9738C7
RGBrgb(151, 56, 199)
HSLhsl(280, 56%, 50%)
HSVhsv(280, 72%, 78%)
CMYKcmyk(24.1%, 71.9%, 0%, 22%)
CIE-LABlab(43.55, 61.44, -56.93)
CIE-LCHlch(43.55, 83.76, 317.18°)
OKLaboklab(54.07% 0.1432 -0.161)
OKLCHoklch(54.07% 0.215 311.7)
XYZxyz(24.4836, 13.5318, 55.3439)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9738C7 #68C738
analogous
#5038C7 #9738C7 #C738AF
triadic
#9738C7 #C79738 #38C797
tetradic
#9738C7 #C75038 #68C738 #38AFC7
square
#9738C7 #C75038 #68C738 #38AFC7
split-complementary
#9738C7 #AFC738 #38C750
monochromatic
#4F1D67 #732B97 #9738C7 #B068D4 #C998E2

Accessibility & contrast

On white

5.67
#9738C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9738C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##9738C7#FFFFFF#000000##FFFFFF
##9738C71.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#2469C4
Tritanopia (blue-blind)
#91587C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9738c7;
/* rgb */ color: rgb(151, 56, 199);
/* oklch */ color: oklch(54.1% 0.215 311.7);
Tailwind
colors: {
  custom: {
    50: '#ba77d9',
    500: '#9738c7',
    950: '#000000',
  },
}
SCSS
$custom: #9738c7;
$custom-light: #ba77d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9738c7",
  "rgb": {
    "r": 151,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 279.86,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.21548,
    "h": 311.7
  },
  "luminance": 0.13531
}

Semantic roles & 50–950 ramp

primary
#9738C7
secondary
#A3CD8D
accent
#DF487B
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9738C7

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

Preview Lab → · Contrast checker → · Palette generator →

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