#9739CC#9739CC

#9739CC is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.219 H 310.3°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9739CC
RGBrgb(151, 57, 204)
HSLhsl(278, 59%, 51%)
HSVhsv(278, 72%, 80%)
CMYKcmyk(26%, 72.1%, 0%, 20%)
CIE-LABlab(44.04, 62.09, -59.04)
CIE-LCHlch(44.04, 85.68, 316.44°)
OKLaboklab(54.52% 0.1416 -0.1672)
OKLCHoklch(54.52% 0.219 310.3)
XYZxyz(25.1226, 13.8657, 58.4680)
Luminance0.1386 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9739CC #6ECC39
analogous
#4D39CC #9739CC #CC39B8
triadic
#9739CC #CC9739 #39CC97
tetradic
#9739CC #CC4D39 #6ECC39 #39B8CC
square
#9739CC #CC4D39 #6ECC39 #39B8CC
split-complementary
#9739CC #B8CC39 #39CC4D
monochromatic
#511C6E #74299F #9739CC #B16AD9 #CA9AE5

Accessibility & contrast

On white

5.57
#9739CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9739CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9739CC
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9739CC#FFFFFF#000000##FFFFFF
##9739CC1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#1B6AC9
Tritanopia (blue-blind)
#905A7F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9739cc;
/* rgb */ color: rgb(151, 57, 204);
/* oklch */ color: oklch(54.5% 0.219 310.3);
Tailwind
colors: {
  custom: {
    50: '#ba78dc',
    500: '#9739cc',
    950: '#000000',
  },
}
SCSS
$custom: #9739cc;
$custom-light: #ba78dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9739cc",
  "rgb": {
    "r": 151,
    "g": 57,
    "b": 204
  },
  "hsl": {
    "h": 278.367,
    "s": 59.036,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5452,
    "c": 0.21906,
    "h": 310.3
  },
  "luminance": 0.13865
}

Semantic roles & 50–950 ramp

primary
#9739CC
secondary
#A7D190
accent
#E2467E
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9739CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9739CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva