#9846D4#9846D4

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

Color values

HEX#9846D4
RGBrgb(152, 70, 212)
HSLhsl(275, 62%, 55%)
HSVhsv(275, 67%, 83%)
CMYKcmyk(28.3%, 67%, 0%, 16.9%)
CIE-LABlab(46.72, 58.41, -59.31)
CIE-LCHlch(46.72, 83.24, 314.56°)
OKLaboklab(56.63% 0.1285 -0.168)
OKLCHoklch(56.63% 0.212 307.4)
XYZxyz(27.0202, 15.8095, 63.9027)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846D4 #82D446
analogous
#5146D4 #9846D4 #D446C9
triadic
#9846D4 #D49846 #46D498
tetradic
#9846D4 #D45146 #82D446 #46C9D4
square
#9846D4 #D45146 #82D446 #46C9D4
split-complementary
#9846D4 #C9D446 #46D451
monochromatic
#571E81 #792AB3 #9846D4 #B478E0 #CFA9EB

Accessibility & contrast

On white

5.05
#9846D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#9846D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846D4
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846D4#FFFFFF#000000##FFFFFF
##9846D41.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD8
Deuteranopia (green-blind)
#246FD1
Tritanopia (blue-blind)
#8E6587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9846d4;
/* rgb */ color: rgb(152, 70, 212);
/* oklch */ color: oklch(56.6% 0.212 307.4);
Tailwind
colors: {
  custom: {
    50: '#bb7fe2',
    500: '#9846d4',
    950: '#000000',
  },
}
SCSS
$custom: #9846d4;
$custom-light: #bb7fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#9846d4",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 212
  },
  "hsl": {
    "h": 274.648,
    "s": 62.281,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.21151,
    "h": 307.4
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#9846D4
secondary
#B6D99D
accent
#E54287
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9846D4

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

Preview Lab → · Contrast checker → · Palette generator →

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