#9746BF#9746BF

#9746BF is a mid, vivid purple. Relative luminance 0.147; OKLCH L 55.1% C 0.190 H 312.7°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9746BF
RGBrgb(151, 70, 191)
HSLhsl(280, 49%, 51%)
HSVhsv(280, 63%, 75%)
CMYKcmyk(20.9%, 63.4%, 0%, 25.1%)
CIE-LABlab(45.25, 53.57, -49.55)
CIE-LCHlch(45.25, 72.97, 317.23°)
OKLaboklab(55.12% 0.1286 -0.1394)
OKLCHoklch(55.12% 0.19 312.7)
XYZxyz(24.3550, 14.7219, 50.8388)
Luminance0.1472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BF #6EBF46
analogous
#5A46BF #9746BF #BF46AA
triadic
#9746BF #BF9746 #46BF97
tetradic
#9746BF #BF5A46 #6EBF46 #46AABF
square
#9746BF #BF5A46 #6EBF46 #46AABF
split-complementary
#9746BF #AABF46 #46BF5A
monochromatic
#512467 #743394 #9746BF #B173CF #CAA1DE

Accessibility & contrast

On white

5.32
#9746BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#9746BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746BF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746BF#FFFFFF#000000##FFFFFF
##9746BF1.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F67C3
Deuteranopia (green-blind)
#3E6DBC
Tritanopia (blue-blind)
#935D7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9746bf;
/* rgb */ color: rgb(151, 70, 191);
/* oklch */ color: oklch(55.1% 0.190 312.7);
Tailwind
colors: {
  custom: {
    50: '#b97ed3',
    500: '#9746bf',
    950: '#000000',
  },
}
SCSS
$custom: #9746bf;
$custom-light: #b97ed3;
$custom-dark: #000000;
JSON
{
  "hex": "#9746bf",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 191
  },
  "hsl": {
    "h": 280.165,
    "s": 48.594,
    "l": 51.176
  },
  "oklch": {
    "l": 0.55118,
    "c": 0.18969,
    "h": 312.7
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#9746BF
secondary
#A7CB96
accent
#D8507D
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9746BF

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

Preview Lab → · Contrast checker → · Palette generator →

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