#9749D4#9749D4

#9749D4 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.9% C 0.207 H 306.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9749D4
RGBrgb(151, 73, 212)
HSLhsl(274, 62%, 56%)
HSVhsv(274, 66%, 83%)
CMYKcmyk(28.8%, 65.6%, 0%, 16.9%)
CIE-LABlab(47.10, 56.79, -58.70)
CIE-LCHlch(47.10, 81.68, 314.06°)
OKLaboklab(56.88% 0.1239 -0.1663)
OKLCHoklch(56.88% 0.207 306.7)
XYZxyz(27.0262, 16.0982, 63.9581)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749D4 #86D449
analogous
#5149D4 #9749D4 #D449CB
triadic
#9749D4 #D49749 #49D497
tetradic
#9749D4 #D45149 #86D449 #49CBD4
square
#9749D4 #D45149 #86D449 #49CBD4
split-complementary
#9749D4 #CBD449 #49D451
monochromatic
#571F84 #782BB5 #9749D4 #B37BE0 #D0ACEB

Accessibility & contrast

On white

4.98
#9749D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9749D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749D4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749D4#FFFFFF#000000##FFFFFF
##9749D41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#2870D1
Tritanopia (blue-blind)
#8D6788
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9749d4;
/* rgb */ color: rgb(151, 73, 212);
/* oklch */ color: oklch(56.9% 0.207 306.7);
Tailwind
colors: {
  custom: {
    50: '#ba81e2',
    500: '#9749d4',
    950: '#000000',
  },
}
SCSS
$custom: #9749d4;
$custom-light: #ba81e2;
$custom-dark: #000000;
JSON
{
  "hex": "#9749d4",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 212
  },
  "hsl": {
    "h": 273.669,
    "s": 61.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56879,
    "c": 0.20737,
    "h": 306.7
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#9749D4
secondary
#B9D9A0
accent
#E5438A
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749D4

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

Preview Lab → · Contrast checker → · Palette generator →

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