#9747D3#9747D3

#9747D3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.209 H 307.2°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#9747D3
RGBrgb(151, 71, 211)
HSLhsl(274, 61%, 55%)
HSVhsv(274, 66%, 83%)
CMYKcmyk(28.4%, 66.4%, 0%, 17.3%)
CIE-LABlab(46.70, 57.51, -58.78)
CIE-LCHlch(46.70, 82.23, 314.37°)
OKLaboklab(56.57% 0.1262 -0.1665)
OKLCHoklch(56.57% 0.209 307.2)
XYZxyz(26.7711, 15.7893, 63.2527)
Luminance0.1579 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747D3 #83D347
analogous
#5147D3 #9747D3 #D347C9
triadic
#9747D3 #D39747 #47D397
tetradic
#9747D3 #D35147 #83D347 #47C9D3
square
#9747D3 #D35147 #83D347 #47C9D3
split-complementary
#9747D3 #C9D347 #47D351
monochromatic
#571F81 #782BB2 #9747D3 #B378DF #CFAAEB

Accessibility & contrast

On white

5.05
#9747D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9747D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747D3
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747D3#FFFFFF#000000##FFFFFF
##9747D31.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#8D6587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9747d3;
/* rgb */ color: rgb(151, 71, 211);
/* oklch */ color: oklch(56.6% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#ba80e1',
    500: '#9747d3',
    950: '#000000',
  },
}
SCSS
$custom: #9747d3;
$custom-light: #ba80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747d3",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 274.286,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56567,
    "c": 0.20893,
    "h": 307.2
  },
  "luminance": 0.15789
}

Semantic roles & 50–950 ramp

primary
#9747D3
secondary
#B7D89E
accent
#E54388
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747D3

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

Preview Lab → · Contrast checker → · Palette generator →

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