#9846DA#9846DA

#9846DA is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 57.1% C 0.218 H 306.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9846DA
RGBrgb(152, 70, 218)
HSLhsl(273, 67%, 56%)
HSVhsv(273, 68%, 85%)
CMYKcmyk(30.3%, 67.9%, 0%, 14.5%)
CIE-LABlab(47.13, 59.76, -62.08)
CIE-LCHlch(47.13, 86.17, 313.91°)
OKLaboklab(57.05% 0.1279 -0.1761)
OKLCHoklch(57.05% 0.218 306)
XYZxyz(27.7912, 16.1179, 67.9631)
Luminance0.1612 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846DA #88DA46
analogous
#4E46DA #9846DA #DA46D2
triadic
#9846DA #DA9846 #46DA98
tetradic
#9846DA #DA4E46 #88DA46 #46D2DA
square
#9846DA #DA4E46 #88DA46 #46D2DA
split-complementary
#9846DA #D2DA46 #46DA4E
monochromatic
#591C8A #7A26BD #9846DA #B479E4 #D1ACEE

Accessibility & contrast

On white

4.97
#9846DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#9846DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846DA
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846DA#FFFFFF#000000##FFFFFF
##9846DA1.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDE
Deuteranopia (green-blind)
#1670D7
Tritanopia (blue-blind)
#8C678B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9846da;
/* rgb */ color: rgb(152, 70, 218);
/* oklch */ color: oklch(57.1% 0.218 306.0);
Tailwind
colors: {
  custom: {
    50: '#bb7fe6',
    500: '#9846da',
    950: '#000000',
  },
}
SCSS
$custom: #9846da;
$custom-light: #bb7fe6;
$custom-dark: #000000;
JSON
{
  "hex": "#9846da",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 218
  },
  "hsl": {
    "h": 273.243,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.21766,
    "h": 306
  },
  "luminance": 0.16118
}

Semantic roles & 50–950 ramp

primary
#9846DA
secondary
#BBDCA0
accent
#EA3E8B
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9846DA

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

Preview Lab → · Contrast checker → · Palette generator →

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