#9746C8#9746C8

#9746C8 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.7% C 0.199 H 310.1°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9746C8
RGBrgb(151, 70, 200)
HSLhsl(277, 54%, 53%)
HSVhsv(277, 65%, 78%)
CMYKcmyk(24.5%, 65%, 0%, 21.6%)
CIE-LABlab(45.81, 55.53, -53.87)
CIE-LCHlch(45.81, 77.37, 315.87°)
OKLaboklab(55.7% 0.1282 -0.1521)
OKLCHoklch(55.7% 0.199 310.1)
XYZxyz(25.3760, 15.1303, 56.2160)
Luminance0.1513 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746C8 #77C846
analogous
#5646C8 #9746C8 #C846B8
triadic
#9746C8 #C89746 #46C897
tetradic
#9746C8 #C85646 #77C846 #46B8C8
square
#9746C8 #C85646 #77C846 #46B8C8
split-complementary
#9746C8 #B8C846 #46C856
monochromatic
#542272 #7630A1 #9746C8 #B275D6 #CCA4E4

Accessibility & contrast

On white

5.22
#9746C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#9746C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746C8
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746C8#FFFFFF#000000##FFFFFF
##9746C81.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#346EC5
Tritanopia (blue-blind)
#906081
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9746c8;
/* rgb */ color: rgb(151, 70, 200);
/* oklch */ color: oklch(55.7% 0.199 310.1);
Tailwind
colors: {
  custom: {
    50: '#b97fd9',
    500: '#9746c8',
    950: '#000000',
  },
}
SCSS
$custom: #9746c8;
$custom-light: #b97fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9746c8",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 200
  },
  "hsl": {
    "h": 277.385,
    "s": 54.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55703,
    "c": 0.1989,
    "h": 310.1
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#9746C8
secondary
#AED199
accent
#DE4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746C8

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

Preview Lab → · Contrast checker → · Palette generator →

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