#9746D3#9746D3

#9746D3 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.210 H 307.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9746D3
RGBrgb(151, 70, 211)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(28.4%, 66.8%, 0%, 17.3%)
CIE-LABlab(46.53, 57.97, -59.05)
CIE-LCHlch(46.53, 82.75, 314.47°)
OKLaboklab(56.45% 0.1273 -0.1673)
OKLCHoklch(56.45% 0.21 307.3)
XYZxyz(26.7081, 15.6631, 63.2317)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D3 #82D346
analogous
#5046D3 #9746D3 #D346C9
triadic
#9746D3 #D39746 #46D397
tetradic
#9746D3 #D35046 #82D346 #46C9D3
square
#9746D3 #D35046 #82D346 #46C9D3
split-complementary
#9746D3 #C9D346 #46D350
monochromatic
#571E80 #782AB2 #9746D3 #B377DF #CFA9EB

Accessibility & contrast

On white

5.08
#9746D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9746D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D3
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D3#FFFFFF#000000##FFFFFF
##9746D31.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD7
Deuteranopia (green-blind)
#246FD0
Tritanopia (blue-blind)
#8D6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9746d3;
/* rgb */ color: rgb(151, 70, 211);
/* oklch */ color: oklch(56.4% 0.210 307.3);
Tailwind
colors: {
  custom: {
    50: '#ba7fe1',
    500: '#9746d3',
    950: '#000000',
  },
}
SCSS
$custom: #9746d3;
$custom-light: #ba7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d3",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 274.468,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.21022,
    "h": 307.3
  },
  "luminance": 0.15663
}

Semantic roles & 50–950 ramp

primary
#9746D3
secondary
#B6D89D
accent
#E54388
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746D3

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

Preview Lab → · Contrast checker → · Palette generator →

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