#9749DF#9749DF

#9749DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.219 H 304.1°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9749DF
RGBrgb(151, 73, 223)
HSLhsl(271, 70%, 58%)
HSVhsv(271, 67%, 87%)
CMYKcmyk(32.3%, 67.3%, 0%, 12.5%)
CIE-LABlab(47.84, 59.32, -63.78)
CIE-LCHlch(47.84, 87.10, 312.93°)
OKLaboklab(57.65% 0.1228 -0.1812)
OKLCHoklch(57.65% 0.219 304.1)
XYZxyz(28.4613, 16.6722, 71.5164)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749DF #91DF49
analogous
#4C49DF #9749DF #DF49DC
triadic
#9749DF #DF9749 #49DF97
tetradic
#9749DF #DF4C49 #91DF49 #49DCDF
square
#9749DF #DF4C49 #91DF49 #49DCDF
split-complementary
#9749DF #DCDF49 #49DF4C
monochromatic
#591A94 #7923C8 #9749DF #B57DE8 #D2B1F1

Accessibility & contrast

On white

4.84
#9749DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9749DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749DF#FFFFFF#000000##FFFFFF
##9749DF1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E3
Deuteranopia (green-blind)
#0971DC
Tritanopia (blue-blind)
#896B8E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9749df;
/* rgb */ color: rgb(151, 73, 223);
/* oklch */ color: oklch(57.6% 0.219 304.1);
Tailwind
colors: {
  custom: {
    50: '#bb81ea',
    500: '#9749df',
    950: '#000000',
  },
}
SCSS
$custom: #9749df;
$custom-light: #bb81ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9749df",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 271.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57646,
    "c": 0.21887,
    "h": 304.1
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#9749DF
secondary
#C1E0A4
accent
#ED3B90
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9749DF

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

Preview Lab → · Contrast checker → · Palette generator →

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