#9749E2#9749E2

#9749E2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.9% C 0.222 H 303.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9749E2
RGBrgb(151, 73, 226)
HSLhsl(271, 73%, 59%)
HSVhsv(271, 68%, 89%)
CMYKcmyk(33.2%, 67.7%, 0%, 11.4%)
CIE-LABlab(48.05, 60.01, -65.14)
CIE-LCHlch(48.05, 88.57, 312.65°)
OKLaboklab(57.86% 0.1224 -0.1852)
OKLCHoklch(57.86% 0.222 303.5)
XYZxyz(28.8693, 16.8354, 73.6654)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749E2 #94E249
analogous
#4A49E2 #9749E2 #E249E1
triadic
#9749E2 #E29749 #49E297
tetradic
#9749E2 #E24A49 #94E249 #49E1E2
square
#9749E2 #E24A49 #94E249 #49E1E2
split-complementary
#9749E2 #E1E249 #49E24A
monochromatic
#5A1898 #7921CD #9749E2 #B57EEA #D3B3F3

Accessibility & contrast

On white

4.81
#9749E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9749E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749E2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749E2#FFFFFF#000000##FFFFFF
##9749E21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0072DF
Tritanopia (blue-blind)
#886C90
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9749e2;
/* rgb */ color: rgb(151, 73, 226);
/* oklch */ color: oklch(57.9% 0.222 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb81ec',
    500: '#9749e2',
    950: '#000000',
  },
}
SCSS
$custom: #9749e2;
$custom-light: #bb81ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9749e2",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 226
  },
  "hsl": {
    "h": 270.588,
    "s": 72.512,
    "l": 58.627
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.222,
    "h": 303.5
  },
  "luminance": 0.16835
}

Semantic roles & 50–950 ramp

primary
#9749E2
secondary
#C3E2A5
accent
#EF3992
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749E2

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

Preview Lab → · Contrast checker → · Palette generator →

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