#9746D9#9746D9

#9746D9 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.216 H 305.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#9746D9
RGBrgb(151, 70, 217)
HSLhsl(273, 66%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.4%, 67.7%, 0%, 14.9%)
CIE-LABlab(46.93, 59.33, -61.83)
CIE-LCHlch(46.93, 85.69, 313.82°)
OKLaboklab(56.87% 0.1267 -0.1754)
OKLCHoklch(56.87% 0.216 305.8)
XYZxyz(27.4743, 15.9696, 67.2672)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D9 #88D946
analogous
#4E46D9 #9746D9 #D946D2
triadic
#9746D9 #D99746 #46D997
tetradic
#9746D9 #D94E46 #88D946 #46D2D9
square
#9746D9 #D94E46 #88D946 #46D2D9
split-complementary
#9746D9 #D2D946 #46D94E
monochromatic
#581C89 #7826BB #9746D9 #B479E3 #D0ACEE

Accessibility & contrast

On white

5.01
#9746D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#9746D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D9#FFFFFF#000000##FFFFFF
##9746D91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#1670D6
Tritanopia (blue-blind)
#8B678A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9746d9;
/* rgb */ color: rgb(151, 70, 217);
/* oklch */ color: oklch(56.9% 0.216 305.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fe6',
    500: '#9746d9',
    950: '#000000',
  },
}
SCSS
$custom: #9746d9;
$custom-light: #ba7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d9",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 217
  },
  "hsl": {
    "h": 273.061,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56865,
    "c": 0.21638,
    "h": 305.8
  },
  "luminance": 0.15969
}

Semantic roles & 50–950 ramp

primary
#9746D9
secondary
#BADC9F
accent
#E93F8B
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9746D9

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

Preview Lab → · Contrast checker → · Palette generator →

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