#9749CD#9749CD

#9749CD is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.200 H 308.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9749CD
RGBrgb(151, 73, 205)
HSLhsl(275, 57%, 55%)
HSVhsv(275, 64%, 80%)
CMYKcmyk(26.3%, 64.4%, 0%, 19.6%)
CIE-LABlab(46.65, 55.21, -55.41)
CIE-LCHlch(46.65, 78.23, 314.90°)
OKLaboklab(56.41% 0.1245 -0.1566)
OKLCHoklch(56.41% 0.2 308.5)
XYZxyz(26.1623, 15.7526, 59.4081)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9749CD #7FCD49
analogous
#5549CD #9749CD #CD49C1
triadic
#9749CD #CD9749 #49CD97
tetradic
#9749CD #CD5549 #7FCD49 #49C1CD
square
#9749CD #CD5549 #7FCD49 #49C1CD
split-complementary
#9749CD #C1CD49 #49CD55
monochromatic
#56227A #782FAA #9749CD #B279DA #CEA9E7

Accessibility & contrast

On white

5.06
#9749CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9749CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9749CD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9749CD#FFFFFF#000000##FFFFFF
##9749CD1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#326FCA
Tritanopia (blue-blind)
#8F6485
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9749cd;
/* rgb */ color: rgb(151, 73, 205);
/* oklch */ color: oklch(56.4% 0.200 308.5);
Tailwind
colors: {
  custom: {
    50: '#ba81dd',
    500: '#9749cd',
    950: '#000000',
  },
}
SCSS
$custom: #9749cd;
$custom-light: #ba81dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9749cd",
  "rgb": {
    "r": 151,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 275.455,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56407,
    "c": 0.20004,
    "h": 308.5
  },
  "luminance": 0.15752
}

Semantic roles & 50–950 ramp

primary
#9749CD
secondary
#B4D59D
accent
#E04886
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9749CD

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

Preview Lab → · Contrast checker → · Palette generator →

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