#9749DB#9749DB

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

Color values

HEX#9749DB
RGBrgb(151, 73, 219)
HSLhsl(272, 67%, 57%)
HSVhsv(272, 67%, 86%)
CMYKcmyk(31.1%, 66.7%, 0%, 14.1%)
CIE-LABlab(47.57, 58.40, -61.94)
CIE-LCHlch(47.57, 85.13, 313.31°)
OKLaboklab(57.36% 0.1233 -0.1758)
OKLCHoklch(57.36% 0.215 305)
XYZxyz(27.9284, 16.4590, 68.7097)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749DB #8DDB49
analogous
#4E49DB #9749DB #DB49D6
triadic
#9749DB #DB9749 #49DB97
tetradic
#9749DB #DB4E49 #8DDB49 #49D6DB
square
#9749DB #DB4E49 #8DDB49 #49D6DB
split-complementary
#9749DB #D6DB49 #49DB4E
monochromatic
#591C8E #7926C1 #9749DB #B47CE5 #D1AFEF

Accessibility & contrast

On white

4.89
#9749DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9749DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749DB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749DB#FFFFFF#000000##FFFFFF
##9749DB1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDF
Deuteranopia (green-blind)
#1971D8
Tritanopia (blue-blind)
#8B698C
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9749db;
/* rgb */ color: rgb(151, 73, 219);
/* oklch */ color: oklch(57.4% 0.215 305.0);
Tailwind
colors: {
  custom: {
    50: '#ba81e7',
    500: '#9749db',
    950: '#000000',
  },
}
SCSS
$custom: #9749db;
$custom-light: #ba81e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9749db",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 272.055,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.21469,
    "h": 305
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#9749DB
secondary
#BEDDA2
accent
#EA3E8E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749DB

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

Preview Lab → · Contrast checker → · Palette generator →

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