#9846CF#9846CF

#9846CF is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.206 H 308.7°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#9846CF
RGBrgb(152, 70, 207)
HSLhsl(276, 59%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.6%, 66.2%, 0%, 18.8%)
CIE-LABlab(46.39, 57.29, -56.97)
CIE-LCHlch(46.39, 80.79, 315.16°)
OKLaboklab(56.29% 0.129 -0.1611)
OKLCHoklch(56.29% 0.206 308.7)
XYZxyz(26.3993, 15.5611, 60.6323)
Luminance0.1556 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846CF #7DCF46
analogous
#5446CF #9846CF #CF46C2
triadic
#9846CF #CF9846 #46CF98
tetradic
#9846CF #CF5446 #7DCF46 #46C2CF
square
#9846CF #CF5446 #7DCF46 #46C2CF
split-complementary
#9846CF #C2CF46 #46CF54
monochromatic
#56207B #782CAB #9846CF #B377DC #CEA7E8

Accessibility & contrast

On white

5.11
#9846CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#9846CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846CF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846CF#FFFFFF#000000##FFFFFF
##9846CF1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#906385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9846cf;
/* rgb */ color: rgb(152, 70, 207);
/* oklch */ color: oklch(56.3% 0.206 308.7);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9846cf',
    950: '#000000',
  },
}
SCSS
$custom: #9846cf;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9846cf",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 207
  },
  "hsl": {
    "h": 275.912,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56292,
    "c": 0.20639,
    "h": 308.7
  },
  "luminance": 0.15561
}

Semantic roles & 50–950 ramp

primary
#9846CF
secondary
#B3D59B
accent
#E24685
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846CF

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

Preview Lab → · Contrast checker → · Palette generator →

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