#9747F0#9747F0

#9747F0 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.7% C 0.239 H 300.8°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9747F0
RGBrgb(151, 71, 240)
HSLhsl(268, 85%, 61%)
HSVhsv(268, 70%, 94%)
CMYKcmyk(37.1%, 70.4%, 0%, 5.9%)
CIE-LABlab(48.73, 64.19, -71.94)
CIE-LCHlch(48.73, 96.42, 311.74°)
OKLaboklab(58.66% 0.1223 -0.2052)
OKLCHoklch(58.66% 0.239 300.8)
XYZxyz(30.7401, 17.3768, 84.1557)
Luminance0.1738 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9747F0 #A0F047
analogous
#474BF0 #9747F0 #EB47F0
triadic
#9747F0 #F09747 #47F097
tetradic
#9747F0 #F0474B #A0F047 #47F0EB
square
#9747F0 #F0474B #A0F047 #47F0EB
split-complementary
#9747F0 #F0EB47 #4BF047
monochromatic
#5A0EAE #7713E7 #9747F0 #B780F5 #D7B8F9

Accessibility & contrast

On white

4.69
#9747F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#9747F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9747F0
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9747F0#FFFFFF#000000##FFFFFF
##9747F01.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#837097
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9747f0;
/* rgb */ color: rgb(151, 71, 240);
/* oklch */ color: oklch(58.7% 0.239 300.8);
Tailwind
colors: {
  custom: {
    50: '#bc81f6',
    500: '#9747f0',
    950: '#000000',
  },
}
SCSS
$custom: #9747f0;
$custom-light: #bc81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9747f0",
  "rgb": {
    "r": 151,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 268.402,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.5866,
    "c": 0.23882,
    "h": 300.8
  },
  "luminance": 0.17377
}

Semantic roles & 50–950 ramp

primary
#9747F0
secondary
#CBE9AA
accent
#E10479
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9747F0

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

Preview Lab → · Contrast checker → · Palette generator →

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