#9846CE#9846CE

#9846CE is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.205 H 308.9°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#9846CE
RGBrgb(152, 70, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.2%, 66%, 0%, 19.2%)
CIE-LABlab(46.33, 57.07, -56.50)
CIE-LCHlch(46.33, 80.30, 315.29°)
OKLaboklab(56.23% 0.1291 -0.1597)
OKLCHoklch(56.23% 0.205 308.9)
XYZxyz(26.2774, 15.5124, 59.9905)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846CE #7CCE46
analogous
#5446CE #9846CE #CE46C0
triadic
#9846CE #CE9846 #46CE98
tetradic
#9846CE #CE5446 #7CCE46 #46C0CE
square
#9846CE #CE5446 #7CCE46 #46C0CE
split-complementary
#9846CE #C0CE46 #46CE54
monochromatic
#562079 #782DAA #9846CE #B376DB #CEA7E8

Accessibility & contrast

On white

5.12
#9846CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9846CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846CE
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846CE#FFFFFF#000000##FFFFFF
##9846CE1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#2E6FCB
Tritanopia (blue-blind)
#906384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9846ce;
/* rgb */ color: rgb(152, 70, 206);
/* oklch */ color: oklch(56.2% 0.205 308.9);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9846ce',
    950: '#000000',
  },
}
SCSS
$custom: #9846ce;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9846ce",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 206
  },
  "hsl": {
    "h": 276.176,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56225,
    "c": 0.20537,
    "h": 308.9
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#9846CE
secondary
#B2D59B
accent
#E14684
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846CE

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

Preview Lab → · Contrast checker → · Palette generator →

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