#9746CF#9746CF

#9746CF is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.206 H 308.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9746CF
RGBrgb(151, 70, 207)
HSLhsl(275, 59%, 54%)
HSVhsv(275, 66%, 81%)
CMYKcmyk(27.1%, 66.2%, 0%, 18.8%)
CIE-LABlab(46.26, 57.08, -57.18)
CIE-LCHlch(46.26, 80.79, 314.95°)
OKLaboklab(56.17% 0.1277 -0.1618)
OKLCHoklch(56.17% 0.206 308.3)
XYZxyz(26.2128, 15.4650, 60.6235)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746CF #7ECF46
analogous
#5346CF #9746CF #CF46C3
triadic
#9746CF #CF9746 #46CF97
tetradic
#9746CF #CF5346 #7ECF46 #46C3CF
square
#9746CF #CF5346 #7ECF46 #46C3CF
split-complementary
#9746CF #C3CF46 #46CF53
monochromatic
#56207B #772CAB #9746CF #B277DC #CEA7E8

Accessibility & contrast

On white

5.13
#9746CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#9746CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746CF
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746CF#FFFFFF#000000##FFFFFF
##9746CF1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#2B6FCC
Tritanopia (blue-blind)
#8E6385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9746cf;
/* rgb */ color: rgb(151, 70, 207);
/* oklch */ color: oklch(56.2% 0.206 308.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9746cf',
    950: '#000000',
  },
}
SCSS
$custom: #9746cf;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9746cf",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 275.474,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.20611,
    "h": 308.3
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#9746CF
secondary
#B3D59B
accent
#E24686
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746CF

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

Preview Lab → · Contrast checker → · Palette generator →

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