#9846A2#9846A2

#9846A2 is a mid, vivid purple. Relative luminance 0.137; OKLCH L 53.5% C 0.161 H 323.2°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#9846A2
RGBrgb(152, 70, 162)
HSLhsl(293, 40%, 45%)
HSVhsv(293, 57%, 64%)
CMYKcmyk(6.2%, 56.8%, 0%, 36.5%)
CIE-LABlab(43.75, 47.87, -34.86)
CIE-LCHlch(43.75, 59.21, 323.94°)
OKLaboklab(53.53% 0.129 -0.0965)
OKLCHoklch(53.53% 0.161 323.2)
XYZxyz(21.6600, 13.6654, 35.6722)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846A2 #50A246
analogous
#6A46A2 #9846A2 #A2467E
triadic
#9846A2 #A29846 #46A298
tetradic
#9846A2 #A26A46 #50A246 #467EA2
square
#9846A2 #A26A46 #50A246 #467EA2
split-complementary
#9846A2 #7EA246 #46A26A
monochromatic
#48214D #703477 #9846A2 #B468BE #C992D0

Accessibility & contrast

On white

5.63
#9846A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#9846A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846A2
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846A2#FFFFFF#000000##FFFFFF
##9846A21.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#536B9F
Tritanopia (blue-blind)
#9A536D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9846a2;
/* rgb */ color: rgb(152, 70, 162);
/* oklch */ color: oklch(53.5% 0.161 323.2);
Tailwind
colors: {
  custom: {
    50: '#b97ebe',
    500: '#9846a2',
    950: '#000000',
  },
}
SCSS
$custom: #9846a2;
$custom-light: #b97ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#9846a2",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 162
  },
  "hsl": {
    "h": 293.478,
    "s": 39.655,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53525,
    "c": 0.16111,
    "h": 323.2
  },
  "luminance": 0.13664
}

Semantic roles & 50–950 ramp

primary
#9846A2
secondary
#8EBC88
accent
#D05865
background
#FBF7FB
surface
#F6EEF7
border
#D0C9D0
text
#120A12
muted
#817C81

Preview Lab

Preview with #9846A2

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

Preview Lab → · Contrast checker → · Palette generator →

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