#9749D8#9749D8

#9749D8 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.2% C 0.212 H 305.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9749D8
RGBrgb(151, 73, 216)
HSLhsl(273, 65%, 57%)
HSVhsv(273, 66%, 85%)
CMYKcmyk(30.1%, 66.2%, 0%, 15.3%)
CIE-LABlab(47.37, 57.71, -60.56)
CIE-LCHlch(47.37, 83.65, 313.62°)
OKLaboklab(57.16% 0.1236 -0.1717)
OKLCHoklch(57.16% 0.212 305.7)
XYZxyz(27.5370, 16.3025, 66.6484)
Luminance0.1630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D8 #8AD849
analogous
#5049D8 #9749D8 #D849D2
triadic
#9749D8 #D89749 #49D897
tetradic
#9749D8 #D85049 #8AD849 #49D2D8
square
#9749D8 #D85049 #8AD849 #49D2D8
split-complementary
#9749D8 #D2D849 #49D850
monochromatic
#581D89 #7928BC #9749D8 #B47BE3 #D1AEEE

Accessibility & contrast

On white

4.93
#9749D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9749D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D8#FFFFFF#000000##FFFFFF
##9749D81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#2071D5
Tritanopia (blue-blind)
#8C688B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9749d8;
/* rgb */ color: rgb(151, 73, 216);
/* oklch */ color: oklch(57.2% 0.212 305.7);
Tailwind
colors: {
  custom: {
    50: '#ba81e5',
    500: '#9749d8',
    950: '#000000',
  },
}
SCSS
$custom: #9749d8;
$custom-light: #ba81e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d8",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 272.727,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57155,
    "c": 0.21155,
    "h": 305.7
  },
  "luminance": 0.16302
}

Semantic roles & 50–950 ramp

primary
#9749D8
secondary
#BCDCA1
accent
#E8408C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749D8

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

Preview Lab → · Contrast checker → · Palette generator →

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