#9747CD#9747CD

#9747CD is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.203 H 308.7°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9747CD
RGBrgb(151, 71, 205)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(26.3%, 65.4%, 0%, 19.6%)
CIE-LABlab(46.30, 56.16, -55.97)
CIE-LCHlch(46.30, 79.29, 315.10°)
OKLaboklab(56.16% 0.1267 -0.1582)
OKLCHoklch(56.16% 0.203 308.7)
XYZxyz(26.0330, 15.4940, 59.3650)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747CD #7DCD47
analogous
#5447CD #9747CD #CD47C0
triadic
#9747CD #CD9747 #47CD97
tetradic
#9747CD #CD5447 #7DCD47 #47C0CD
square
#9747CD #CD5447 #7DCD47 #47C0CD
split-complementary
#9747CD #C0CD47 #47CD54
monochromatic
#552179 #772EA9 #9747CD #B277DA #CDA7E7

Accessibility & contrast

On white

5.12
#9747CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9747CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747CD
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747CD#FFFFFF#000000##FFFFFF
##9747CD1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD1
Deuteranopia (green-blind)
#2F6FCA
Tritanopia (blue-blind)
#8F6384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9747cd;
/* rgb */ color: rgb(151, 71, 205);
/* oklch */ color: oklch(56.2% 0.203 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fdd',
    500: '#9747cd',
    950: '#000000',
  },
}
SCSS
$custom: #9747cd;
$custom-light: #ba7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9747cd",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 275.821,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56159,
    "c": 0.20272,
    "h": 308.7
  },
  "luminance": 0.15494
}

Semantic roles & 50–950 ramp

primary
#9747CD
secondary
#B2D49B
accent
#E14785
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747CD

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

Preview Lab → · Contrast checker → · Palette generator →

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