#9749E6#9749E6

#9749E6 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.226 H 302.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9749E6
RGBrgb(151, 73, 230)
HSLhsl(270, 76%, 59%)
HSVhsv(270, 68%, 90%)
CMYKcmyk(34.3%, 68.3%, 0%, 9.8%)
CIE-LABlab(48.33, 60.95, -66.95)
CIE-LCHlch(48.33, 90.54, 312.31°)
OKLaboklab(58.15% 0.1219 -0.1905)
OKLCHoklch(58.15% 0.226 302.6)
XYZxyz(29.4246, 17.0575, 76.5898)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749E6 #98E649
analogous
#494AE6 #9749E6 #E549E6
triadic
#9749E6 #E69749 #49E697
tetradic
#9749E6 #E6494A #98E649 #49E6E5
square
#9749E6 #E6494A #98E649 #49E6E5
split-complementary
#9749E6 #E6E549 #4AE649
monochromatic
#5A169F #781DD5 #9749E6 #B67FED #D4B5F5

Accessibility & contrast

On white

4.76
#9749E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9749E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749E6
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749E6#FFFFFF#000000##FFFFFF
##9749E61.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071EB
Deuteranopia (green-blind)
#0072E3
Tritanopia (blue-blind)
#876E92
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9749e6;
/* rgb */ color: rgb(151, 73, 230);
/* oklch */ color: oklch(58.1% 0.226 302.6);
Tailwind
colors: {
  custom: {
    50: '#bb81ef',
    500: '#9749e6',
    950: '#000000',
  },
}
SCSS
$custom: #9749e6;
$custom-light: #bb81ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9749e6",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 269.809,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58149,
    "c": 0.22617,
    "h": 302.6
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#9749E6
secondary
#C6E4A7
accent
#F23595
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #9749E6

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

Preview Lab → · Contrast checker → · Palette generator →

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