#9846D2#9846D2

#9846D2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.5% C 0.209 H 307.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9846D2
RGBrgb(152, 70, 210)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 67%, 82%)
CMYKcmyk(27.6%, 66.7%, 0%, 17.6%)
CIE-LABlab(46.59, 57.96, -58.37)
CIE-LCHlch(46.59, 82.26, 314.80°)
OKLaboklab(56.5% 0.1287 -0.1652)
OKLCHoklch(56.5% 0.209 307.9)
XYZxyz(26.7695, 15.7092, 62.5822)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846D2 #80D246
analogous
#5246D2 #9846D2 #D246C6
triadic
#9846D2 #D29846 #46D298
tetradic
#9846D2 #D25246 #80D246 #46C6D2
square
#9846D2 #D25246 #80D246 #46C6D2
split-complementary
#9846D2 #C6D246 #46D252
monochromatic
#571F7F #792BB0 #9846D2 #B377DE #CFA8EA

Accessibility & contrast

On white

5.07
#9846D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9846D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846D2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846D2#FFFFFF#000000##FFFFFF
##9846D21.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD6
Deuteranopia (green-blind)
#286FCF
Tritanopia (blue-blind)
#8F6486
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9846d2;
/* rgb */ color: rgb(152, 70, 210);
/* oklch */ color: oklch(56.5% 0.209 307.9);
Tailwind
colors: {
  custom: {
    50: '#bb7fe1',
    500: '#9846d2',
    950: '#000000',
  },
}
SCSS
$custom: #9846d2;
$custom-light: #bb7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9846d2",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 275.143,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56497,
    "c": 0.20947,
    "h": 307.9
  },
  "luminance": 0.15709
}

Semantic roles & 50–950 ramp

primary
#9846D2
secondary
#B5D79C
accent
#E44486
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846D2

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

Preview Lab → · Contrast checker → · Palette generator →

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