#9749D5#9749D5

#9749D5 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.208 H 306.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9749D5
RGBrgb(151, 73, 213)
HSLhsl(273, 63%, 56%)
HSVhsv(273, 66%, 84%)
CMYKcmyk(29.1%, 65.7%, 0%, 16.5%)
CIE-LABlab(47.17, 57.02, -59.16)
CIE-LCHlch(47.17, 82.17, 313.94°)
OKLaboklab(56.95% 0.1239 -0.1676)
OKLCHoklch(56.95% 0.208 306.5)
XYZxyz(27.1527, 16.1488, 64.6245)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D5 #87D549
analogous
#5149D5 #9749D5 #D549CD
triadic
#9749D5 #D59749 #49D597
tetradic
#9749D5 #D55149 #87D549 #49CDD5
square
#9749D5 #D55149 #87D549 #49CDD5
split-complementary
#9749D5 #CDD549 #49D551
monochromatic
#581F85 #782AB7 #9749D5 #B37BE0 #D0ACEC

Accessibility & contrast

On white

4.97
#9749D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9749D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D5
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D5#FFFFFF#000000##FFFFFF
##9749D51.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#2670D2
Tritanopia (blue-blind)
#8D6789
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9749d5;
/* rgb */ color: rgb(151, 73, 213);
/* oklch */ color: oklch(56.9% 0.208 306.5);
Tailwind
colors: {
  custom: {
    50: '#ba81e3',
    500: '#9749d5',
    950: '#000000',
  },
}
SCSS
$custom: #9749d5;
$custom-light: #ba81e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d5",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 213
  },
  "hsl": {
    "h": 273.429,
    "s": 62.5,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56948,
    "c": 0.20842,
    "h": 306.5
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9749D5

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

Preview Lab → · Contrast checker → · Palette generator →

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