#9846DF#9846DF

#9846DF is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.4% C 0.223 H 304.8°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9846DF
RGBrgb(152, 70, 223)
HSLhsl(272, 71%, 57%)
HSVhsv(272, 69%, 87%)
CMYKcmyk(31.8%, 68.6%, 0%, 12.5%)
CIE-LABlab(47.47, 60.89, -64.37)
CIE-LCHlch(47.47, 88.61, 313.41°)
OKLaboklab(57.41% 0.1272 -0.1829)
OKLCHoklch(57.41% 0.223 304.8)
XYZxyz(28.4553, 16.3836, 71.4610)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846DF #8DDF46
analogous
#4C46DF #9846DF #DF46D9
triadic
#9846DF #DF9846 #46DF98
tetradic
#9846DF #DF4C46 #8DDF46 #46D9DF
square
#9846DF #DF4C46 #8DDF46 #46D9DF
split-complementary
#9846DF #D9DF46 #46DF4C
monochromatic
#5A1991 #7A22C6 #9846DF #B57AE8 #D2AEF1

Accessibility & contrast

On white

4.91
#9846DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9846DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846DF
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846DF#FFFFFF#000000##FFFFFF
##9846DF1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE4
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#8B698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9846df;
/* rgb */ color: rgb(152, 70, 223);
/* oklch */ color: oklch(57.4% 0.223 304.8);
Tailwind
colors: {
  custom: {
    50: '#bc7fea',
    500: '#9846df',
    950: '#000000',
  },
}
SCSS
$custom: #9846df;
$custom-light: #bc7fea;
$custom-dark: #000000;
JSON
{
  "hex": "#9846df",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 223
  },
  "hsl": {
    "h": 272.157,
    "s": 70.507,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57408,
    "c": 0.22277,
    "h": 304.8
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#9846DF
secondary
#BEDFA2
accent
#ED3B8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9846DF

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

Preview Lab → · Contrast checker → · Palette generator →

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