#9746C5#9746C5

#9746C5 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.5% C 0.196 H 311.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9746C5
RGBrgb(151, 70, 197)
HSLhsl(278, 52%, 52%)
HSVhsv(278, 64%, 77%)
CMYKcmyk(23.4%, 64.5%, 0%, 22.7%)
CIE-LABlab(45.62, 54.87, -52.44)
CIE-LCHlch(45.62, 75.90, 316.30°)
OKLaboklab(55.51% 0.1284 -0.1479)
OKLCHoklch(55.51% 0.196 311)
XYZxyz(25.0288, 14.9914, 54.3876)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746C5 #74C546
analogous
#5846C5 #9746C5 #C546B3
triadic
#9746C5 #C59746 #46C597
tetradic
#9746C5 #C55846 #74C546 #46B3C5
square
#9746C5 #C55846 #74C546 #46B3C5
split-complementary
#9746C5 #B3C546 #46C558
monochromatic
#53236E #76319D #9746C5 #B175D4 #CBA3E2

Accessibility & contrast

On white

5.25
#9746C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9746C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746C5
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746C5#FFFFFF#000000##FFFFFF
##9746C51.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068C9
Deuteranopia (green-blind)
#386DC2
Tritanopia (blue-blind)
#915F7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9746c5;
/* rgb */ color: rgb(151, 70, 197);
/* oklch */ color: oklch(55.5% 0.196 311.0);
Tailwind
colors: {
  custom: {
    50: '#b97fd7',
    500: '#9746c5',
    950: '#000000',
  },
}
SCSS
$custom: #9746c5;
$custom-light: #b97fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#9746c5",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 278.268,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55505,
    "c": 0.19582,
    "h": 311
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#9746C5
secondary
#ACCF98
accent
#DC4C80
background
#FBF8FD
surface
#F7EFFA
border
#D0CAD3
text
#120A14
muted
#817C83

Preview Lab

Preview with #9746C5

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

Preview Lab → · Contrast checker → · Palette generator →

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