#9746D4#9746D4

#9746D4 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.211 H 307.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9746D4
RGBrgb(151, 70, 212)
HSLhsl(274, 62%, 55%)
HSVhsv(274, 67%, 83%)
CMYKcmyk(28.8%, 67%, 0%, 16.9%)
CIE-LABlab(46.60, 58.20, -59.52)
CIE-LCHlch(46.60, 83.24, 314.36°)
OKLaboklab(56.52% 0.1272 -0.1686)
OKLCHoklch(56.52% 0.211 307)
XYZxyz(26.8338, 15.7134, 63.8940)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746D4 #83D446
analogous
#5046D4 #9746D4 #D446CA
triadic
#9746D4 #D49746 #46D497
tetradic
#9746D4 #D45046 #83D446 #46CAD4
square
#9746D4 #D45046 #83D446 #46CAD4
split-complementary
#9746D4 #CAD446 #46D450
monochromatic
#571E81 #782AB3 #9746D4 #B378E0 #CFA9EB

Accessibility & contrast

On white

5.07
#9746D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9746D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746D4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746D4#FFFFFF#000000##FFFFFF
##9746D41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#226FD1
Tritanopia (blue-blind)
#8D6587
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9746d4;
/* rgb */ color: rgb(151, 70, 212);
/* oklch */ color: oklch(56.5% 0.211 307.0);
Tailwind
colors: {
  custom: {
    50: '#ba7fe2',
    500: '#9746d4',
    950: '#000000',
  },
}
SCSS
$custom: #9746d4;
$custom-light: #ba7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9746d4",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 274.225,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56516,
    "c": 0.21125,
    "h": 307
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#9746D4
secondary
#B7D99D
accent
#E54288
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9746D4

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

Preview Lab → · Contrast checker → · Palette generator →

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