#9846D3#9846D3

#9846D3 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.6% C 0.210 H 307.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#9846D3
RGBrgb(152, 70, 211)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 67%, 83%)
CMYKcmyk(28%, 66.8%, 0%, 17.3%)
CIE-LABlab(46.66, 58.18, -58.84)
CIE-LCHlch(46.66, 82.75, 314.68°)
OKLaboklab(56.57% 0.1286 -0.1666)
OKLCHoklch(56.57% 0.21 307.7)
XYZxyz(26.8945, 15.7592, 63.2404)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846D3 #81D346
analogous
#5246D3 #9846D3 #D346C7
triadic
#9846D3 #D39846 #46D398
tetradic
#9846D3 #D35246 #81D346 #46C7D3
square
#9846D3 #D35246 #81D346 #46C7D3
split-complementary
#9846D3 #C7D346 #46D352
monochromatic
#571E80 #792AB2 #9846D3 #B477DF #CFA9EB

Accessibility & contrast

On white

5.06
#9846D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#9846D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846D3
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846D3#FFFFFF#000000##FFFFFF
##9846D31.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#8F6487
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9846d3;
/* rgb */ color: rgb(152, 70, 211);
/* oklch */ color: oklch(56.6% 0.210 307.7);
Tailwind
colors: {
  custom: {
    50: '#bb7fe1',
    500: '#9846d3',
    950: '#000000',
  },
}
SCSS
$custom: #9846d3;
$custom-light: #bb7fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#9846d3",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 211
  },
  "hsl": {
    "h": 274.894,
    "s": 61.572,
    "l": 55.098
  },
  "oklch": {
    "l": 0.56565,
    "c": 0.21049,
    "h": 307.7
  },
  "luminance": 0.15759
}

Semantic roles & 50–950 ramp

primary
#9846D3
secondary
#B6D89D
accent
#E54387
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846D3

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

Preview Lab → · Contrast checker → · Palette generator →

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