#9746CC#9746CC

#9746CC is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 56.0% C 0.203 H 309.1°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9746CC
RGBrgb(151, 70, 204)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 66%, 80%)
CMYKcmyk(26%, 65.7%, 0%, 20%)
CIE-LABlab(46.07, 56.41, -55.77)
CIE-LCHlch(46.07, 79.32, 315.33°)
OKLaboklab(55.97% 0.1279 -0.1576)
OKLCHoklch(55.97% 0.203 309.1)
XYZxyz(25.8496, 15.3197, 58.7103)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CC #7BCC46
analogous
#5446CC #9746CC #CC46BE
triadic
#9746CC #CC9746 #46CC97
tetradic
#9746CC #CC5446 #7BCC46 #46BECC
square
#9746CC #CC5446 #7BCC46 #46BECC
split-complementary
#9746CC #BECC46 #46CC54
monochromatic
#552177 #772EA7 #9746CC #B276D9 #CDA6E6

Accessibility & contrast

On white

5.17
#9746CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#9746CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CC
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CC#FFFFFF#000000##FFFFFF
##9746CC1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD0
Deuteranopia (green-blind)
#2F6EC9
Tritanopia (blue-blind)
#8F6283
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9746cc;
/* rgb */ color: rgb(151, 70, 204);
/* oklch */ color: oklch(56.0% 0.203 309.1);
Tailwind
colors: {
  custom: {
    50: '#ba7fdc',
    500: '#9746cc',
    950: '#000000',
  },
}
SCSS
$custom: #9746cc;
$custom-light: #ba7fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9746cc",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 204
  },
  "hsl": {
    "h": 276.269,
    "s": 56.78,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55969,
    "c": 0.20302,
    "h": 309.1
  },
  "luminance": 0.15319
}

Semantic roles & 50–950 ramp

primary
#9746CC
secondary
#B1D49A
accent
#E04884
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CC

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

Preview Lab → · Contrast checker → · Palette generator →

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