#9749D7#9749D7

#9749D7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.1% C 0.211 H 306.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9749D7
RGBrgb(151, 73, 215)
HSLhsl(273, 64%, 56%)
HSVhsv(273, 66%, 84%)
CMYKcmyk(29.8%, 66%, 0%, 15.7%)
CIE-LABlab(47.30, 57.48, -60.09)
CIE-LCHlch(47.30, 83.16, 313.73°)
OKLaboklab(57.09% 0.1237 -0.1704)
OKLCHoklch(57.09% 0.211 306)
XYZxyz(27.4081, 16.2509, 65.9697)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D7 #89D749
analogous
#5049D7 #9749D7 #D749D0
triadic
#9749D7 #D79749 #49D797
tetradic
#9749D7 #D75049 #89D749 #49D0D7
square
#9749D7 #D75049 #89D749 #49D0D7
split-complementary
#9749D7 #D0D749 #49D750
monochromatic
#581E88 #7929BA #9749D7 #B47BE2 #D0ADED

Accessibility & contrast

On white

4.94
#9749D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9749D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D7#FFFFFF#000000##FFFFFF
##9749D71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#2271D4
Tritanopia (blue-blind)
#8C688A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9749d7;
/* rgb */ color: rgb(151, 73, 215);
/* oklch */ color: oklch(57.1% 0.211 306.0);
Tailwind
colors: {
  custom: {
    50: '#ba81e4',
    500: '#9749d7',
    950: '#000000',
  },
}
SCSS
$custom: #9749d7;
$custom-light: #ba81e4;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d7",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 272.958,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57086,
    "c": 0.21051,
    "h": 306
  },
  "luminance": 0.16251
}

Semantic roles & 50–950 ramp

primary
#9749D7
secondary
#BBDBA1
accent
#E7418C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749D7

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

Preview Lab → · Contrast checker → · Palette generator →

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