#9749E8#9749E8

#9749E8 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.3% C 0.228 H 302.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9749E8
RGBrgb(151, 73, 232)
HSLhsl(269, 78%, 60%)
HSVhsv(269, 69%, 91%)
CMYKcmyk(34.9%, 68.5%, 0%, 9%)
CIE-LABlab(48.47, 61.42, -67.85)
CIE-LCHlch(48.47, 91.52, 312.15°)
OKLaboklab(58.29% 0.1216 -0.1932)
OKLCHoklch(58.29% 0.228 302.2)
XYZxyz(29.7071, 17.1705, 78.0775)
Luminance0.1717 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749E8 #9AE849
analogous
#494BE8 #9749E8 #E749E8
triadic
#9749E8 #E89749 #49E897
tetradic
#9749E8 #E8494B #9AE849 #49E8E7
square
#9749E8 #E8494B #9AE849 #49E8E7
split-complementary
#9749E8 #E8E749 #4BE849
monochromatic
#5A14A2 #781BD8 #9749E8 #B67FEF #D5B6F6

Accessibility & contrast

On white

4.74
#9749E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#9749E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749E8
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749E8#FFFFFF#000000##FFFFFF
##9749E81.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#866E93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9749e8;
/* rgb */ color: rgb(151, 73, 232);
/* oklch */ color: oklch(58.3% 0.228 302.2);
Tailwind
colors: {
  custom: {
    50: '#bb81f0',
    500: '#9749e8',
    950: '#000000',
  },
}
SCSS
$custom: #9749e8;
$custom-light: #bb81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9749e8",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 232
  },
  "hsl": {
    "h": 269.434,
    "s": 77.561,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58295,
    "c": 0.22825,
    "h": 302.2
  },
  "luminance": 0.17171
}

Semantic roles & 50–950 ramp

primary
#9749E8
secondary
#C7E5A8
accent
#F43496
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9749E8

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

Preview Lab → · Contrast checker → · Palette generator →

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