#9746DA#9746DA

#9746DA is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.9% C 0.217 H 305.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#9746DA
RGBrgb(151, 70, 218)
HSLhsl(273, 67%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.7%, 67.9%, 0%, 14.5%)
CIE-LABlab(47.00, 59.55, -62.29)
CIE-LCHlch(47.00, 86.18, 313.71°)
OKLaboklab(56.94% 0.1265 -0.1768)
OKLCHoklch(56.94% 0.217 305.6)
XYZxyz(27.6048, 16.0218, 67.9543)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9746DA #89DA46
analogous
#4D46DA #9746DA #DA46D3
triadic
#9746DA #DA9746 #46DA97
tetradic
#9746DA #DA4D46 #89DA46 #46D3DA
square
#9746DA #DA4D46 #89DA46 #46D3DA
split-complementary
#9746DA #D3DA46 #46DA4D
monochromatic
#581C8A #7926BD #9746DA #B479E4 #D0ACEE

Accessibility & contrast

On white

4.99
#9746DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#9746DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9746DA
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9746DA#FFFFFF#000000##FFFFFF
##9746DA1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#1370D7
Tritanopia (blue-blind)
#8B678B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9746da;
/* rgb */ color: rgb(151, 70, 218);
/* oklch */ color: oklch(56.9% 0.217 305.6);
Tailwind
colors: {
  custom: {
    50: '#bb7fe6',
    500: '#9746da',
    950: '#000000',
  },
}
SCSS
$custom: #9746da;
$custom-light: #bb7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9746da",
  "rgb": {
    "r": 151,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 272.838,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56936,
    "c": 0.21741,
    "h": 305.6
  },
  "luminance": 0.16022
}

Semantic roles & 50–950 ramp

primary
#9746DA
secondary
#BBDCA0
accent
#EA3E8C
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9746DA

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

Preview Lab → · Contrast checker → · Palette generator →

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