#9747D2#9747D2

#9747D2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.208 H 307.4°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9747D2
RGBrgb(151, 71, 210)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 66%, 82%)
CMYKcmyk(28.1%, 66.2%, 0%, 17.6%)
CIE-LABlab(46.63, 57.28, -58.31)
CIE-LCHlch(46.63, 81.74, 314.49°)
OKLaboklab(56.5% 0.1263 -0.1651)
OKLCHoklch(56.5% 0.208 307.4)
XYZxyz(26.6462, 15.7393, 62.5945)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747D2 #82D247
analogous
#5147D2 #9747D2 #D247C8
triadic
#9747D2 #D29747 #47D297
tetradic
#9747D2 #D25147 #82D247 #47C8D2
square
#9747D2 #D25147 #82D247 #47C8D2
split-complementary
#9747D2 #C8D247 #47D251
monochromatic
#571F7F #782BB1 #9747D2 #B378DE #CFA9EA

Accessibility & contrast

On white

5.06
#9747D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9747D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747D2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747D2#FFFFFF#000000##FFFFFF
##9747D21.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)
#006CD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#8E6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9747d2;
/* rgb */ color: rgb(151, 71, 210);
/* oklch */ color: oklch(56.5% 0.208 307.4);
Tailwind
colors: {
  custom: {
    50: '#ba80e1',
    500: '#9747d2',
    950: '#000000',
  },
}
SCSS
$custom: #9747d2;
$custom-light: #ba80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9747d2",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 274.532,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.2079,
    "h": 307.4
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#9747D2
secondary
#B6D89D
accent
#E44488
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747D2

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

Preview Lab → · Contrast checker → · Palette generator →

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