#9749E1#9749E1

#9749E1 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.8% C 0.221 H 303.7°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9749E1
RGBrgb(151, 73, 225)
HSLhsl(271, 72%, 58%)
HSVhsv(271, 68%, 88%)
CMYKcmyk(32.9%, 67.6%, 0%, 11.8%)
CIE-LABlab(47.98, 59.78, -64.69)
CIE-LCHlch(47.98, 88.08, 312.74°)
OKLaboklab(57.79% 0.1226 -0.1839)
OKLCHoklch(57.79% 0.221 303.7)
XYZxyz(28.7325, 16.7807, 72.9449)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749E1 #93E149
analogous
#4B49E1 #9749E1 #E149DF
triadic
#9749E1 #E19749 #49E197
tetradic
#9749E1 #E14B49 #93E149 #49DFE1
square
#9749E1 #E14B49 #93E149 #49DFE1
split-complementary
#9749E1 #DFE149 #49E14B
monochromatic
#591997 #7922CB #9749E1 #B57EEA #D3B2F2

Accessibility & contrast

On white

4.82
#9749E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9749E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749E1
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749E1#FFFFFF#000000##FFFFFF
##9749E11.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0072DE
Tritanopia (blue-blind)
#896C8F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9749e1;
/* rgb */ color: rgb(151, 73, 225);
/* oklch */ color: oklch(57.8% 0.221 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb81eb',
    500: '#9749e1',
    950: '#000000',
  },
}
SCSS
$custom: #9749e1;
$custom-light: #bb81eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9749e1",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 270.789,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57789,
    "c": 0.22095,
    "h": 303.7
  },
  "luminance": 0.16781
}

Semantic roles & 50–950 ramp

primary
#9749E1
secondary
#C2E1A5
accent
#EE3992
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749E1

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

Preview Lab → · Contrast checker → · Palette generator →

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