#9846D1#9846D1

#9846D1 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.208 H 308.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9846D1
RGBrgb(152, 70, 209)
HSLhsl(275, 60%, 55%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(27.3%, 66.5%, 0%, 18%)
CIE-LABlab(46.52, 57.74, -57.91)
CIE-LCHlch(46.52, 81.77, 314.92°)
OKLaboklab(56.43% 0.1288 -0.1639)
OKLCHoklch(56.43% 0.208 308.2)
XYZxyz(26.6453, 15.6596, 61.9282)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846D1 #7FD146
analogous
#5346D1 #9846D1 #D146C4
triadic
#9846D1 #D19846 #46D198
tetradic
#9846D1 #D15346 #7FD146 #46C4D1
square
#9846D1 #D15346 #7FD146 #46C4D1
split-complementary
#9846D1 #C4D146 #46D153
monochromatic
#571F7D #792BAE #9846D1 #B377DD #CFA8E9

Accessibility & contrast

On white

5.08
#9846D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9846D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846D1
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846D1#FFFFFF#000000##FFFFFF
##9846D11.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD5
Deuteranopia (green-blind)
#2A6FCE
Tritanopia (blue-blind)
#8F6486
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9846d1;
/* rgb */ color: rgb(152, 70, 209);
/* oklch */ color: oklch(56.4% 0.208 308.2);
Tailwind
colors: {
  custom: {
    50: '#bb7fe0',
    500: '#9846d1',
    950: '#000000',
  },
}
SCSS
$custom: #9846d1;
$custom-light: #bb7fe0;
$custom-dark: #000000;
JSON
{
  "hex": "#9846d1",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 209
  },
  "hsl": {
    "h": 275.396,
    "s": 60.173,
    "l": 54.706
  },
  "oklch": {
    "l": 0.56428,
    "c": 0.20844,
    "h": 308.2
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#9846D1
secondary
#B4D79C
accent
#E34486
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846D1

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

Preview Lab → · Contrast checker → · Palette generator →

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