#9749C8#9749C8

#9749C8 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.1% C 0.195 H 309.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9749C8
RGBrgb(151, 73, 200)
HSLhsl(277, 54%, 54%)
HSVhsv(277, 64%, 78%)
CMYKcmyk(24.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(46.33, 54.10, -53.04)
CIE-LCHlch(46.33, 75.76, 315.57°)
OKLaboklab(56.08% 0.1247 -0.1496)
OKLCHoklch(56.08% 0.195 309.8)
XYZxyz(25.5683, 15.5150, 56.2802)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749C8 #7AC849
analogous
#5749C8 #9749C8 #C849B9
triadic
#9749C8 #C89749 #49C897
tetradic
#9749C8 #C85749 #7AC849 #49B9C8
square
#9749C8 #C85749 #7AC849 #49B9C8
split-complementary
#9749C8 #B9C849 #49C857
monochromatic
#552374 #7731A3 #9749C8 #B278D6 #CDA7E4

Accessibility & contrast

On white

5.12
#9749C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9749C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749C8
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749C8#FFFFFF#000000##FFFFFF
##9749C81.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#386FC5
Tritanopia (blue-blind)
#906282
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9749c8;
/* rgb */ color: rgb(151, 73, 200);
/* oklch */ color: oklch(56.1% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#b980d9',
    500: '#9749c8',
    950: '#000000',
  },
}
SCSS
$custom: #9749c8;
$custom-light: #b980d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9749c8",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 276.85,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56077,
    "c": 0.19481,
    "h": 309.8
  },
  "luminance": 0.15515
}

Semantic roles & 50–950 ramp

primary
#9749C8
secondary
#B0D29B
accent
#DD4B83
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749C8

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

Preview Lab → · Contrast checker → · Palette generator →

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