#9746AF#9746AF

#9746AF is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.1% C 0.173 H 317.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#9746AF
RGBrgb(151, 70, 175)
HSLhsl(286, 43%, 48%)
HSVhsv(286, 60%, 69%)
CMYKcmyk(13.7%, 60%, 0%, 31.4%)
CIE-LABlab(44.31, 50.20, -41.68)
CIE-LCHlch(44.31, 65.25, 320.30°)
OKLaboklab(54.14% 0.1286 -0.1164)
OKLCHoklch(54.14% 0.173 317.9)
XYZxyz(22.6894, 14.0557, 42.0670)
Luminance0.1406 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746AF #5EAF46
analogous
#6346AF #9746AF #AF4692
triadic
#9746AF #AF9746 #46AF97
tetradic
#9746AF #AF6346 #5EAF46 #4692AF
square
#9746AF #AF6346 #5EAF46 #4692AF
split-complementary
#9746AF #92AF46 #46AF63
monochromatic
#4C2358 #713583 #9746AF #B16DC5 #C899D6

Accessibility & contrast

On white

5.51
#9746AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#9746AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746AF
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746AF#FFFFFF#000000##FFFFFF
##9746AF1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B64B2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#965774
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9746af;
/* rgb */ color: rgb(151, 70, 175);
/* oklch */ color: oklch(54.1% 0.173 317.9);
Tailwind
colors: {
  custom: {
    50: '#b87ec7',
    500: '#9746af',
    950: '#000000',
  },
}
SCSS
$custom: #9746af;
$custom-light: #b87ec7;
$custom-dark: #000000;
JSON
{
  "hex": "#9746af",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 286.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54135,
    "c": 0.17344,
    "h": 317.9
  },
  "luminance": 0.14055
}

Semantic roles & 50–950 ramp

primary
#9746AF
secondary
#9AC28E
accent
#D35572
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9746AF

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

Preview Lab → · Contrast checker → · Palette generator →

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