#9946DF#9946DF

#9946DF is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.223 H 305.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9946DF
RGBrgb(153, 70, 223)
HSLhsl(273, 71%, 57%)
HSVhsv(273, 69%, 87%)
CMYKcmyk(31.4%, 68.6%, 0%, 12.5%)
CIE-LABlab(47.60, 61.09, -64.16)
CIE-LCHlch(47.60, 88.59, 313.60°)
OKLaboklab(57.53% 0.1285 -0.1822)
OKLCHoklch(57.53% 0.223 305.2)
XYZxyz(28.6433, 16.4805, 71.4698)
Luminance0.1648 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9946DF #8CDF46
analogous
#4C46DF #9946DF #DF46D9
triadic
#9946DF #DF9946 #46DF99
tetradic
#9946DF #DF4C46 #8CDF46 #46D9DF
square
#9946DF #DF4C46 #8CDF46 #46D9DF
split-complementary
#9946DF #D9DF46 #46DF4C
monochromatic
#5A1991 #7B22C6 #9946DF #B67AE8 #D3AEF1

Accessibility & contrast

On white

4.89
#9946DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9946DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9946DF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9946DF#FFFFFF#000000##FFFFFF
##9946DF1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0571DC
Tritanopia (blue-blind)
#8C698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9946df;
/* rgb */ color: rgb(153, 70, 223);
/* oklch */ color: oklch(57.5% 0.223 305.2);
Tailwind
colors: {
  custom: {
    50: '#bc80ea',
    500: '#9946df',
    950: '#000000',
  },
}
SCSS
$custom: #9946df;
$custom-light: #bc80ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9946df",
  "rgb": {
    "r": 153,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 272.549,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.223,
    "h": 305.2
  },
  "luminance": 0.1648
}

Semantic roles & 50–950 ramp

primary
#9946DF
secondary
#BEDFA2
accent
#ED3B8C
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9946DF

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

Preview Lab → · Contrast checker → · Palette generator →

#9946DF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva