#9746BE#9746BE

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

Color values

HEX#9746BE
RGBrgb(151, 70, 190)
HSLhsl(281, 48%, 51%)
HSVhsv(281, 63%, 75%)
CMYKcmyk(20.5%, 63.2%, 0%, 25.5%)
CIE-LABlab(45.19, 53.35, -49.07)
CIE-LCHlch(45.19, 72.49, 317.40°)
OKLaboklab(55.05% 0.1286 -0.138)
OKLCHoklch(55.05% 0.189 313)
XYZxyz(24.2453, 14.6780, 50.2612)
Luminance0.1468 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746BE #6DBE46
analogous
#5B46BE #9746BE #BE46A9
triadic
#9746BE #BE9746 #46BE97
tetradic
#9746BE #BE5B46 #6DBE46 #46A9BE
square
#9746BE #BE5B46 #6DBE46 #46A9BE
split-complementary
#9746BE #A9BE46 #46BE5B
monochromatic
#502466 #743493 #9746BE #B073CE #CAA1DE

Accessibility & contrast

On white

5.34
#9746BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9746BE
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746BE#FFFFFF#000000##FFFFFF
##9746BE1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1267C2
Deuteranopia (green-blind)
#3F6DBB
Tritanopia (blue-blind)
#935D7C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9746be;
/* rgb */ color: rgb(151, 70, 190);
/* oklch */ color: oklch(55.1% 0.189 313.0);
Tailwind
colors: {
  custom: {
    50: '#b97ed2',
    500: '#9746be',
    950: '#000000',
  },
}
SCSS
$custom: #9746be;
$custom-light: #b97ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#9746be",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 190
  },
  "hsl": {
    "h": 280.5,
    "s": 48,
    "l": 50.98
  },
  "oklch": {
    "l": 0.55054,
    "c": 0.18866,
    "h": 313
  },
  "luminance": 0.14677
}

Semantic roles & 50–950 ramp

primary
#9746BE
secondary
#A7CA95
accent
#D8507C
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9746BE

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

Preview Lab → · Contrast checker → · Palette generator →

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