#9749D1#9749D1

#9749D1 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.204 H 307.4°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9749D1
RGBrgb(151, 73, 209)
HSLhsl(274, 60%, 55%)
HSVhsv(274, 65%, 82%)
CMYKcmyk(27.8%, 65.1%, 0%, 18%)
CIE-LABlab(46.91, 56.11, -57.30)
CIE-LCHlch(46.91, 80.20, 314.40°)
OKLaboklab(56.68% 0.1242 -0.1621)
OKLCHoklch(56.68% 0.204 307.4)
XYZxyz(26.6513, 15.9482, 61.9835)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D1 #83D149
analogous
#5349D1 #9749D1 #D149C7
triadic
#9749D1 #D19749 #49D197
tetradic
#9749D1 #D15349 #83D149 #49C7D1
square
#9749D1 #D15349 #83D149 #49C7D1
split-complementary
#9749D1 #C7D149 #49D153
monochromatic
#57207F #782DB0 #9749D1 #B37ADD #CFABEA

Accessibility & contrast

On white

5.01
#9749D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9749D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D1
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D1#FFFFFF#000000##FFFFFF
##9749D11.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#2C70CE
Tritanopia (blue-blind)
#8E6687
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9749d1;
/* rgb */ color: rgb(151, 73, 209);
/* oklch */ color: oklch(56.7% 0.204 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba81e0',
    500: '#9749d1',
    950: '#000000',
  },
}
SCSS
$custom: #9749d1;
$custom-light: #ba81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d1",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 209
  },
  "hsl": {
    "h": 274.412,
    "s": 59.649,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56676,
    "c": 0.20423,
    "h": 307.4
  },
  "luminance": 0.15948
}

Semantic roles & 50–950 ramp

primary
#9749D1
secondary
#B7D79E
accent
#E34588
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749D1

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

Preview Lab → · Contrast checker → · Palette generator →

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