#9749CC#9749CC

#9749CC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.3% C 0.199 H 308.7°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9749CC
RGBrgb(151, 73, 204)
HSLhsl(276, 56%, 54%)
HSVhsv(276, 64%, 80%)
CMYKcmyk(26%, 64.2%, 0%, 20%)
CIE-LABlab(46.58, 54.99, -54.94)
CIE-LCHlch(46.58, 77.73, 315.03°)
OKLaboklab(56.34% 0.1245 -0.1552)
OKLCHoklch(56.34% 0.199 308.7)
XYZxyz(26.0419, 15.7045, 58.7744)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749CC #7ECC49
analogous
#5649CC #9749CC #CC49C0
triadic
#9749CC #CC9749 #49CC97
tetradic
#9749CC #CC5649 #7ECC49 #49C0CC
square
#9749CC #CC5649 #7ECC49 #49C0CC
split-complementary
#9749CC #C0CC49 #49CC56
monochromatic
#562279 #772FA9 #9749CC #B279D9 #CEA9E7

Accessibility & contrast

On white

5.07
#9749CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9749CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749CC#FFFFFF#000000##FFFFFF
##9749CC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#336FC9
Tritanopia (blue-blind)
#8F6484
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9749cc;
/* rgb */ color: rgb(151, 73, 204);
/* oklch */ color: oklch(56.3% 0.199 308.7);
Tailwind
colors: {
  custom: {
    50: '#b980dc',
    500: '#9749cc',
    950: '#000000',
  },
}
SCSS
$custom: #9749cc;
$custom-light: #b980dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9749cc",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 275.725,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56341,
    "c": 0.19899,
    "h": 308.7
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#9749CC
secondary
#B3D49D
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749CC

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

Preview Lab → · Contrast checker → · Palette generator →

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