#9749D3#9749D3

#9749D3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.206 H 306.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9749D3
RGBrgb(151, 73, 211)
HSLhsl(274, 61%, 56%)
HSVhsv(274, 65%, 83%)
CMYKcmyk(28.4%, 65.4%, 0%, 17.3%)
CIE-LABlab(47.04, 56.57, -58.23)
CIE-LCHlch(47.04, 81.18, 314.17°)
OKLaboklab(56.81% 0.124 -0.1649)
OKLCHoklch(56.81% 0.206 306.9)
XYZxyz(26.9004, 16.0479, 63.2958)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D3 #85D349
analogous
#5249D3 #9749D3 #D349CA
triadic
#9749D3 #D39749 #49D397
tetradic
#9749D3 #D35249 #85D349 #49CAD3
square
#9749D3 #D35249 #85D349 #49CAD3
split-complementary
#9749D3 #CAD349 #49D352
monochromatic
#571F82 #782BB3 #9749D3 #B37ADF #CFACEB

Accessibility & contrast

On white

4.99
#9749D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9749D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D3
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D3#FFFFFF#000000##FFFFFF
##9749D31.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD7
Deuteranopia (green-blind)
#2970D0
Tritanopia (blue-blind)
#8D6688
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9749d3;
/* rgb */ color: rgb(151, 73, 211);
/* oklch */ color: oklch(56.8% 0.206 306.9);
Tailwind
colors: {
  custom: {
    50: '#ba81e1',
    500: '#9749d3',
    950: '#000000',
  },
}
SCSS
$custom: #9749d3;
$custom-light: #ba81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d3",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 211
  },
  "hsl": {
    "h": 273.913,
    "s": 61.062,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56811,
    "c": 0.20632,
    "h": 306.9
  },
  "luminance": 0.16048
}

Semantic roles & 50–950 ramp

primary
#9749D3
secondary
#B8D99F
accent
#E44489
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749D3

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

Preview Lab → · Contrast checker → · Palette generator →

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