#9749DC#9749DC

#9749DC is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.4% C 0.216 H 304.8°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9749DC
RGBrgb(151, 73, 220)
HSLhsl(272, 68%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.4%, 66.8%, 0%, 13.7%)
CIE-LABlab(47.64, 58.63, -62.40)
CIE-LCHlch(47.64, 85.62, 313.21°)
OKLaboklab(57.43% 0.1231 -0.1771)
OKLCHoklch(57.43% 0.216 304.8)
XYZxyz(28.0604, 16.5119, 69.4051)
Luminance0.1651 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749DC #8EDC49
analogous
#4E49DC #9749DC #DC49D7
triadic
#9749DC #DC9749 #49DC97
tetradic
#9749DC #DC4E49 #8EDC49 #49D7DC
square
#9749DC #DC4E49 #8EDC49 #49D7DC
split-complementary
#9749DC #D7DC49 #49DC4E
monochromatic
#591C8F #7925C2 #9749DC #B47CE6 #D2B0F0

Accessibility & contrast

On white

4.88
#9749DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9749DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749DC
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749DC#FFFFFF#000000##FFFFFF
##9749DC1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#1671D9
Tritanopia (blue-blind)
#8A6A8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9749dc;
/* rgb */ color: rgb(151, 73, 220);
/* oklch */ color: oklch(57.4% 0.216 304.8);
Tailwind
colors: {
  custom: {
    50: '#ba81e8',
    500: '#9749dc',
    950: '#000000',
  },
}
SCSS
$custom: #9749dc;
$custom-light: #ba81e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9749dc",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 220
  },
  "hsl": {
    "h": 271.837,
    "s": 67.742,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57434,
    "c": 0.21574,
    "h": 304.8
  },
  "luminance": 0.16512
}

Semantic roles & 50–950 ramp

primary
#9749DC
secondary
#BFDEA3
accent
#EB3D8F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9749DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva