#9747DA#9747DA

#9747DA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.216 H 305.5°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9747DA
RGBrgb(151, 71, 218)
HSLhsl(273, 67%, 57%)
HSVhsv(273, 67%, 85%)
CMYKcmyk(30.7%, 67.4%, 0%, 14.5%)
CIE-LABlab(47.17, 59.10, -62.02)
CIE-LCHlch(47.17, 85.67, 313.62°)
OKLaboklab(57.05% 0.1255 -0.176)
OKLCHoklch(57.05% 0.216 305.5)
XYZxyz(27.6678, 16.1479, 67.9754)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747DA #8ADA47
analogous
#4E47DA #9747DA #DA47D4
triadic
#9747DA #DA9747 #47DA97
tetradic
#9747DA #DA4E47 #8ADA47 #47D4DA
square
#9747DA #DA4E47 #8ADA47 #47D4DA
split-complementary
#9747DA #D4DA47 #47DA4E
monochromatic
#581C8B #7926BE #9747DA #B47AE4 #D1ADEE

Accessibility & contrast

On white

4.97
#9747DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9747DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747DA#FFFFFF#000000##FFFFFF
##9747DA1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDE
Deuteranopia (green-blind)
#1670D7
Tritanopia (blue-blind)
#8B688B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9747da;
/* rgb */ color: rgb(151, 71, 218);
/* oklch */ color: oklch(57.1% 0.216 305.5);
Tailwind
colors: {
  custom: {
    50: '#ba80e6',
    500: '#9747da',
    950: '#000000',
  },
}
SCSS
$custom: #9747da;
$custom-light: #ba80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9747da",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 272.653,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.21617,
    "h": 305.5
  },
  "luminance": 0.16148
}

Semantic roles & 50–950 ramp

primary
#9747DA
secondary
#BCDCA0
accent
#E93E8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9747DA

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

Preview Lab → · Contrast checker → · Palette generator →

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