#9749D6#9749D6

#9749D6 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.209 H 306.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9749D6
RGBrgb(151, 73, 214)
HSLhsl(273, 63%, 56%)
HSVhsv(273, 66%, 84%)
CMYKcmyk(29.4%, 65.9%, 0%, 16.1%)
CIE-LABlab(47.24, 57.25, -59.63)
CIE-LCHlch(47.24, 82.66, 313.83°)
OKLaboklab(57.02% 0.1238 -0.169)
OKLCHoklch(57.02% 0.209 306.2)
XYZxyz(27.2800, 16.1997, 65.2950)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D6 #88D649
analogous
#5149D6 #9749D6 #D649CF
triadic
#9749D6 #D69749 #49D697
tetradic
#9749D6 #D65149 #88D649 #49CFD6
square
#9749D6 #D65149 #88D649 #49CFD6
split-complementary
#9749D6 #CFD649 #49D651
monochromatic
#581E86 #782AB8 #9749D6 #B47BE1 #D0ADED

Accessibility & contrast

On white

4.95
#9749D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9749D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D6
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D6#FFFFFF#000000##FFFFFF
##9749D61.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#2470D3
Tritanopia (blue-blind)
#8C6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9749d6;
/* rgb */ color: rgb(151, 73, 214);
/* oklch */ color: oklch(57.0% 0.209 306.2);
Tailwind
colors: {
  custom: {
    50: '#ba81e3',
    500: '#9749d6',
    950: '#000000',
  },
}
SCSS
$custom: #9749d6;
$custom-light: #ba81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d6",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 214
  },
  "hsl": {
    "h": 273.191,
    "s": 63.229,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57017,
    "c": 0.20946,
    "h": 306.2
  },
  "luminance": 0.16199
}

Semantic roles & 50–950 ramp

primary
#9749D6
secondary
#BADAA0
accent
#E6428B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749D6

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

Preview Lab → · Contrast checker → · Palette generator →

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