#9746D1#9746D1

#9746D1 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.208 H 307.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9746D1
RGBrgb(151, 70, 209)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(27.8%, 66.5%, 0%, 18%)
CIE-LABlab(46.40, 57.52, -58.12)
CIE-LCHlch(46.40, 81.77, 314.71°)
OKLaboklab(56.31% 0.1275 -0.1645)
OKLCHoklch(56.31% 0.208 307.8)
XYZxyz(26.4589, 15.5634, 61.9194)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D1 #80D146
analogous
#5246D1 #9746D1 #D146C6
triadic
#9746D1 #D19746 #46D197
tetradic
#9746D1 #D15246 #80D146 #46C6D1
square
#9746D1 #D15246 #80D146 #46C6D1
split-complementary
#9746D1 #C6D146 #46D152
monochromatic
#561F7D #782BAE #9746D1 #B377DD #CEA8E9

Accessibility & contrast

On white

5.11
#9746D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9746D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D1#FFFFFF#000000##FFFFFF
##9746D11.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#286FCE
Tritanopia (blue-blind)
#8E6486
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9746d1;
/* rgb */ color: rgb(151, 70, 209);
/* oklch */ color: oklch(56.3% 0.208 307.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fe0',
    500: '#9746d1',
    950: '#000000',
  },
}
SCSS
$custom: #9746d1;
$custom-light: #ba7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d1",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 274.964,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56309,
    "c": 0.20816,
    "h": 307.8
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#9746D1
secondary
#B5D79C
accent
#E34487
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746D1

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

Preview Lab → · Contrast checker → · Palette generator →

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