#9846FF#9846FF

#9846FF is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.8% C 0.255 H 298.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9846FF
RGBrgb(152, 70, 255)
HSLhsl(267, 100%, 64%)
HSVhsv(267, 73%, 100%)
CMYKcmyk(40.4%, 72.5%, 0%, 0%)
CIE-LABlab(49.83, 68.33, -78.53)
CIE-LCHlch(49.83, 104.09, 311.03°)
OKLaboklab(59.82% 0.1216 -0.2245)
OKLCHoklch(59.82% 0.255 298.4)
XYZxyz(33.1844, 18.2752, 96.3675)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846FF #ADFF46
analogous
#4650FF #9846FF #F546FF
triadic
#9846FF #FF9846 #46FF98
tetradic
#9846FF #FF4650 #ADFF46 #46FFF5
square
#9846FF #FF4650 #ADFF46 #46FFF5
split-complementary
#9846FF #FFF546 #50FF46
monochromatic
#5A00CB #7609FF #9846FF #BA83FF #DCC0FF

Accessibility & contrast

On white

4.51
#9846FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9846FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9846FF
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846FF#FFFFFF#000000##000000
##9846FF1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#0075FB
Tritanopia (blue-blind)
#7F769F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9846ff;
/* rgb */ color: rgb(152, 70, 255);
/* oklch */ color: oklch(59.8% 0.255 298.4);
Tailwind
colors: {
  custom: {
    50: '#be81ff',
    500: '#9846ff',
    950: '#000000',
  },
}
SCSS
$custom: #9846ff;
$custom-light: #be81ff;
$custom-dark: #000000;
JSON
{
  "hex": "#9846ff",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 255
  },
  "hsl": {
    "h": 266.595,
    "s": 100,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59815,
    "c": 0.25529,
    "h": 298.4
  },
  "luminance": 0.18276
}

Semantic roles & 50–950 ramp

primary
#9846FF
secondary
#D4F1B0
accent
#E60080
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B18
muted
#827C86

Preview Lab

Preview with #9846FF

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

Preview Lab → · Contrast checker → · Palette generator →

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