#9746D5#9746D5

#9746D5 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.212 H 306.8°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9746D5
RGBrgb(151, 70, 213)
HSLhsl(274, 63%, 55%)
HSVhsv(274, 67%, 84%)
CMYKcmyk(29.1%, 67.1%, 0%, 16.5%)
CIE-LABlab(46.66, 58.42, -59.98)
CIE-LCHlch(46.66, 83.73, 314.25°)
OKLaboklab(56.58% 0.1271 -0.17)
OKLCHoklch(56.58% 0.212 306.8)
XYZxyz(26.9603, 15.7640, 64.5604)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D5 #84D546
analogous
#4F46D5 #9746D5 #D546CC
triadic
#9746D5 #D59746 #46D597
tetradic
#9746D5 #D54F46 #84D546 #46CCD5
square
#9746D5 #D54F46 #84D546 #46CCD5
split-complementary
#9746D5 #CCD546 #46D54F
monochromatic
#571E83 #7829B5 #9746D5 #B378E0 #CFAAEC

Accessibility & contrast

On white

5.06
#9746D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9746D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D5
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D5#FFFFFF#000000##FFFFFF
##9746D51.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD9
Deuteranopia (green-blind)
#206FD2
Tritanopia (blue-blind)
#8D6588
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9746d5;
/* rgb */ color: rgb(151, 70, 213);
/* oklch */ color: oklch(56.6% 0.212 306.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fe3',
    500: '#9746d5',
    950: '#000000',
  },
}
SCSS
$custom: #9746d5;
$custom-light: #ba7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d5",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 273.986,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56585,
    "c": 0.21227,
    "h": 306.8
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#9746D5
secondary
#B7D99E
accent
#E64289
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9746D5

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

Preview Lab → · Contrast checker → · Palette generator →

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