#9747CA#9747CA

#9747CA is a mid, vivid violet. Relative luminance 0.153; OKLCH L 56.0% C 0.200 H 309.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#9747CA
RGBrgb(151, 71, 202)
HSLhsl(277, 55%, 54%)
HSVhsv(277, 65%, 79%)
CMYKcmyk(25.2%, 64.9%, 0%, 20.8%)
CIE-LABlab(46.11, 55.50, -54.55)
CIE-LCHlch(46.11, 77.82, 315.49°)
OKLaboklab(55.96% 0.1269 -0.1541)
OKLCHoklch(55.96% 0.2 309.5)
XYZxyz(25.6743, 15.3505, 57.4761)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747CA #7ACA47
analogous
#5547CA #9747CA #CA47BB
triadic
#9747CA #CA9747 #47CA97
tetradic
#9747CA #CA5547 #7ACA47 #47BBCA
square
#9747CA #CA5547 #7ACA47 #47BBCA
split-complementary
#9747CA #BBCA47 #47CA55
monochromatic
#552275 #772FA4 #9747CA #B277D8 #CDA6E5

Accessibility & contrast

On white

5.16
#9747CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#9747CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747CA
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747CA#FFFFFF#000000##FFFFFF
##9747CA1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#336EC7
Tritanopia (blue-blind)
#906282
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9747ca;
/* rgb */ color: rgb(151, 71, 202);
/* oklch */ color: oklch(56.0% 0.200 309.5);
Tailwind
colors: {
  custom: {
    50: '#b97fdb',
    500: '#9747ca',
    950: '#000000',
  },
}
SCSS
$custom: #9747ca;
$custom-light: #b97fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#9747ca",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 276.641,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.19962,
    "h": 309.5
  },
  "luminance": 0.1535
}

Semantic roles & 50–950 ramp

primary
#9747CA
secondary
#B0D29A
accent
#DF4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9747CA

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

Preview Lab → · Contrast checker → · Palette generator →

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