#9749CF#9749CF

#9749CF is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.202 H 308.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#9749CF
RGBrgb(151, 73, 207)
HSLhsl(275, 58%, 55%)
HSVhsv(275, 65%, 81%)
CMYKcmyk(27.1%, 64.7%, 0%, 18.8%)
CIE-LABlab(46.78, 55.66, -56.36)
CIE-LCHlch(46.78, 79.21, 314.64°)
OKLaboklab(56.54% 0.1243 -0.1594)
OKLCHoklch(56.54% 0.202 308)
XYZxyz(26.4052, 15.8498, 60.6877)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749CF #81CF49
analogous
#5449CF #9749CF #CF49C4
triadic
#9749CF #CF9749 #49CF97
tetradic
#9749CF #CF5449 #81CF49 #49C4CF
square
#9749CF #CF5449 #81CF49 #49C4CF
split-complementary
#9749CF #C4CF49 #49CF54
monochromatic
#56217D #782EAD #9749CF #B379DC #CEAAE9

Accessibility & contrast

On white

5.04
#9749CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9749CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749CF
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749CF#FFFFFF#000000##FFFFFF
##9749CF1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#8E6586
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9749cf;
/* rgb */ color: rgb(151, 73, 207);
/* oklch */ color: oklch(56.5% 0.202 308.0);
Tailwind
colors: {
  custom: {
    50: '#ba81de',
    500: '#9749cf',
    950: '#000000',
  },
}
SCSS
$custom: #9749cf;
$custom-light: #ba81de;
$custom-dark: #000000;
JSON
{
  "hex": "#9749cf",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 274.925,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56541,
    "c": 0.20214,
    "h": 308
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#9749CF
secondary
#B5D69E
accent
#E14687
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749CF

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

Preview Lab → · Contrast checker → · Palette generator →

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