#9746BA#9746BA

#9746BA is a mid, vivid purple. Relative luminance 0.145; OKLCH L 54.8% C 0.185 H 314.2°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9746BA
RGBrgb(151, 70, 186)
HSLhsl(282, 46%, 50%)
HSVhsv(282, 62%, 73%)
CMYKcmyk(18.8%, 62.4%, 0%, 27.1%)
CIE-LABlab(44.95, 52.50, -47.12)
CIE-LCHlch(44.95, 70.54, 318.09°)
OKLaboklab(54.8% 0.1287 -0.1323)
OKLCHoklch(54.8% 0.185 314.2)
XYZxyz(23.8141, 14.5055, 47.9902)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BA #69BA46
analogous
#5D46BA #9746BA #BA46A3
triadic
#9746BA #BA9746 #46BA97
tetradic
#9746BA #BA5D46 #69BA46 #46A3BA
square
#9746BA #BA5D46 #69BA46 #46A3BA
split-complementary
#9746BA #A3BA46 #46BA5D
monochromatic
#4F2461 #73358E #9746BA #B073CB #C99FDB

Accessibility & contrast

On white

5.38
#9746BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9746BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746BA
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746BA#FFFFFF#000000##FFFFFF
##9746BA1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B66BE
Deuteranopia (green-blind)
#426CB7
Tritanopia (blue-blind)
#945B7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9746ba;
/* rgb */ color: rgb(151, 70, 186);
/* oklch */ color: oklch(54.8% 0.185 314.2);
Tailwind
colors: {
  custom: {
    50: '#b97ecf',
    500: '#9746ba',
    950: '#000000',
  },
}
SCSS
$custom: #9746ba;
$custom-light: #b97ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#9746ba",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 281.897,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.54803,
    "c": 0.18457,
    "h": 314.2
  },
  "luminance": 0.14505
}

Semantic roles & 50–950 ramp

primary
#9746BA
secondary
#A4C894
accent
#D5527A
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9746BA

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

Preview Lab → · Contrast checker → · Palette generator →

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