#9746C1#9746C1

#9746C1 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 55.2% C 0.192 H 312.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#9746C1
RGBrgb(151, 70, 193)
HSLhsl(280, 50%, 52%)
HSVhsv(280, 64%, 76%)
CMYKcmyk(21.8%, 63.7%, 0%, 24.3%)
CIE-LABlab(45.37, 54.00, -50.52)
CIE-LCHlch(45.37, 73.95, 316.91°)
OKLaboklab(55.25% 0.1286 -0.1422)
OKLCHoklch(55.25% 0.192 312.1)
XYZxyz(24.5766, 14.8105, 52.0058)
Luminance0.1481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746C1 #70C146
analogous
#5A46C1 #9746C1 #C146AE
triadic
#9746C1 #C19746 #46C197
tetradic
#9746C1 #C15A46 #70C146 #46AEC1
square
#9746C1 #C15A46 #70C146 #46AEC1
split-complementary
#9746C1 #AEC146 #46C15A
monochromatic
#512369 #753397 #9746C1 #B174D0 #CBA2E0

Accessibility & contrast

On white

5.30
#9746C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#9746C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746C1
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746C1#FFFFFF#000000##FFFFFF
##9746C11.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0867C5
Deuteranopia (green-blind)
#3C6DBE
Tritanopia (blue-blind)
#925E7D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9746c1;
/* rgb */ color: rgb(151, 70, 193);
/* oklch */ color: oklch(55.2% 0.192 312.1);
Tailwind
colors: {
  custom: {
    50: '#b97ed4',
    500: '#9746c1',
    950: '#000000',
  },
}
SCSS
$custom: #9746c1;
$custom-light: #b97ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#9746c1",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 193
  },
  "hsl": {
    "h": 279.512,
    "s": 49.798,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55246,
    "c": 0.19173,
    "h": 312.1
  },
  "luminance": 0.1481
}

Semantic roles & 50–950 ramp

primary
#9746C1
secondary
#A9CC96
accent
#D94E7E
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9746C1

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

Preview Lab → · Contrast checker → · Palette generator →

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