#9846D6#9846D6

#9846D6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.8% C 0.214 H 306.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#9846D6
RGBrgb(152, 70, 214)
HSLhsl(274, 64%, 56%)
HSVhsv(274, 67%, 84%)
CMYKcmyk(29%, 67.3%, 0%, 16.1%)
CIE-LABlab(46.86, 58.85, -60.23)
CIE-LCHlch(46.86, 84.21, 314.34°)
OKLaboklab(56.77% 0.1283 -0.1707)
OKLCHoklch(56.77% 0.214 306.9)
XYZxyz(27.2741, 15.9111, 65.2396)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846D6 #84D646
analogous
#5046D6 #9846D6 #D646CC
triadic
#9846D6 #D69846 #46D698
tetradic
#9846D6 #D65046 #84D646 #46CCD6
square
#9846D6 #D65046 #84D646 #46CCD6
split-complementary
#9846D6 #CCD646 #46D650
monochromatic
#581D84 #7928B6 #9846D6 #B478E1 #D0AAEC

Accessibility & contrast

On white

5.02
#9846D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9846D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846D6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846D6#FFFFFF#000000##FFFFFF
##9846D61.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDA
Deuteranopia (green-blind)
#2070D3
Tritanopia (blue-blind)
#8E6689
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9846d6;
/* rgb */ color: rgb(152, 70, 214);
/* oklch */ color: oklch(56.8% 0.214 306.9);
Tailwind
colors: {
  custom: {
    50: '#bb7fe3',
    500: '#9846d6',
    950: '#000000',
  },
}
SCSS
$custom: #9846d6;
$custom-light: #bb7fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9846d6",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 214
  },
  "hsl": {
    "h": 274.167,
    "s": 63.717,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56773,
    "c": 0.21356,
    "h": 306.9
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#9846D6
secondary
#B8DA9E
accent
#E74188
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9846D6

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

Preview Lab → · Contrast checker → · Palette generator →

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