#9746BD#9746BD

#9746BD is a mid, vivid purple. Relative luminance 0.146; OKLCH L 55.0% C 0.188 H 313.3°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#9746BD
RGBrgb(151, 70, 189)
HSLhsl(281, 47%, 51%)
HSVhsv(281, 63%, 74%)
CMYKcmyk(20.1%, 63%, 0%, 25.9%)
CIE-LABlab(45.13, 53.14, -48.58)
CIE-LCHlch(45.13, 72.00, 317.56°)
OKLaboklab(54.99% 0.1287 -0.1366)
OKLCHoklch(54.99% 0.188 313.3)
XYZxyz(24.1364, 14.6344, 49.6875)
Luminance0.1463 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BD #6CBD46
analogous
#5B46BD #9746BD #BD46A7
triadic
#9746BD #BD9746 #46BD97
tetradic
#9746BD #BD5B46 #6CBD46 #46A7BD
square
#9746BD #BD5B46 #6CBD46 #46A7BD
split-complementary
#9746BD #A7BD46 #46BD5B
monochromatic
#502465 #743492 #9746BD #B073CD #CAA0DD

Accessibility & contrast

On white

5.35
#9746BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#9746BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746BD
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746BD#FFFFFF#000000##FFFFFF
##9746BD1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1566C1
Deuteranopia (green-blind)
#3F6DBA
Tritanopia (blue-blind)
#935C7B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9746bd;
/* rgb */ color: rgb(151, 70, 189);
/* oklch */ color: oklch(55.0% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#b97ed1',
    500: '#9746bd',
    950: '#000000',
  },
}
SCSS
$custom: #9746bd;
$custom-light: #b97ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#9746bd",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 189
  },
  "hsl": {
    "h": 280.84,
    "s": 47.41,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54991,
    "c": 0.18764,
    "h": 313.3
  },
  "luminance": 0.14634
}

Semantic roles & 50–950 ramp

primary
#9746BD
secondary
#A6CA95
accent
#D7517C
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9746BD

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

Preview Lab → · Contrast checker → · Palette generator →

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