#9746D7#9746D7

#9746D7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.214 H 306.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9746D7
RGBrgb(151, 70, 215)
HSLhsl(274, 64%, 56%)
HSVhsv(274, 67%, 84%)
CMYKcmyk(29.8%, 67.4%, 0%, 15.7%)
CIE-LABlab(46.80, 58.87, -60.91)
CIE-LCHlch(46.80, 84.71, 314.03°)
OKLaboklab(56.73% 0.1269 -0.1727)
OKLCHoklch(56.73% 0.214 306.3)
XYZxyz(27.2158, 15.8662, 65.9055)
Luminance0.1587 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D7 #86D746
analogous
#4E46D7 #9746D7 #D746CE
triadic
#9746D7 #D79746 #46D797
tetradic
#9746D7 #D74E46 #86D746 #46CED7
square
#9746D7 #D74E46 #86D746 #46CED7
split-complementary
#9746D7 #CED746 #46D74E
monochromatic
#571D86 #7828B8 #9746D7 #B378E2 #D0ABED

Accessibility & contrast

On white

5.03
#9746D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#9746D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D7
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D7#FFFFFF#000000##FFFFFF
##9746D71.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#1C6FD4
Tritanopia (blue-blind)
#8C6689
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9746d7;
/* rgb */ color: rgb(151, 70, 215);
/* oklch */ color: oklch(56.7% 0.214 306.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fe4',
    500: '#9746d7',
    950: '#000000',
  },
}
SCSS
$custom: #9746d7;
$custom-light: #ba7fe4;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d7",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 215
  },
  "hsl": {
    "h": 273.517,
    "s": 64.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.21433,
    "h": 306.3
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#9746D7
secondary
#B9DA9E
accent
#E7408A
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9746D7

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

Preview Lab → · Contrast checker → · Palette generator →

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