#9749C7#9749C7

#9749C7 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.194 H 310.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9749C7
RGBrgb(151, 73, 199)
HSLhsl(277, 53%, 53%)
HSVhsv(277, 63%, 78%)
CMYKcmyk(24.1%, 63.3%, 0%, 22%)
CIE-LABlab(46.27, 53.88, -52.56)
CIE-LCHlch(46.27, 75.27, 315.71°)
OKLaboklab(56.01% 0.1248 -0.1482)
OKLCHoklch(56.01% 0.194 310.1)
XYZxyz(25.4519, 15.4684, 55.6667)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749C7 #79C749
analogous
#5849C7 #9749C7 #C749B8
triadic
#9749C7 #C79749 #49C797
tetradic
#9749C7 #C75849 #79C749 #49B8C7
square
#9749C7 #C75849 #79C749 #49B8C7
split-complementary
#9749C7 #B8C749 #49C758
monochromatic
#542372 #7732A1 #9749C7 #B278D5 #CCA7E4

Accessibility & contrast

On white

5.13
#9749C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9749C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749C7
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749C7#FFFFFF#000000##FFFFFF
##9749C71.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#016ACB
Deuteranopia (green-blind)
#396FC4
Tritanopia (blue-blind)
#916281
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9749c7;
/* rgb */ color: rgb(151, 73, 199);
/* oklch */ color: oklch(56.0% 0.194 310.1);
Tailwind
colors: {
  custom: {
    50: '#b980d9',
    500: '#9749c7',
    950: '#000000',
  },
}
SCSS
$custom: #9749c7;
$custom-light: #b980d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9749c7",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 277.143,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.19377,
    "h": 310.1
  },
  "luminance": 0.15468
}

Semantic roles & 50–950 ramp

primary
#9749C7
secondary
#AFD19B
accent
#DC4B83
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749C7

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

Preview Lab → · Contrast checker → · Palette generator →

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