#9746BC#9746BC

#9746BC is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.187 H 313.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9746BC
RGBrgb(151, 70, 188)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(19.7%, 62.8%, 0%, 26.3%)
CIE-LABlab(45.07, 52.92, -48.10)
CIE-LCHlch(45.07, 71.51, 317.74°)
OKLaboklab(54.93% 0.1287 -0.1351)
OKLCHoklch(54.93% 0.187 313.6)
XYZxyz(24.0282, 14.5912, 49.1178)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BC #6BBC46
analogous
#5C46BC #9746BC #BC46A6
triadic
#9746BC #BC9746 #46BC97
tetradic
#9746BC #BC5C46 #6BBC46 #46A6BC
square
#9746BC #BC5C46 #6BBC46 #46A6BC
split-complementary
#9746BC #A6BC46 #46BC5C
monochromatic
#502464 #743490 #9746BC #B073CC #CAA0DD

Accessibility & contrast

On white

5.36
#9746BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9746BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746BC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746BC#FFFFFF#000000##FFFFFF
##9746BC1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1766C0
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#935C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9746bc;
/* rgb */ color: rgb(151, 70, 188);
/* oklch */ color: oklch(54.9% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#b97ed1',
    500: '#9746bc',
    950: '#000000',
  },
}
SCSS
$custom: #9746bc;
$custom-light: #b97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9746bc",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 281.186,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.54928,
    "c": 0.18662,
    "h": 313.6
  },
  "luminance": 0.1459
}

Semantic roles & 50–950 ramp

primary
#9746BC
secondary
#A5C995
accent
#D6517B
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9746BC

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

Preview Lab → · Contrast checker → · Palette generator →

#9746BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva