#9846EF#9846EF

#9846EF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.239 H 301.4°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9846EF
RGBrgb(152, 70, 239)
HSLhsl(269, 84%, 61%)
HSVhsv(269, 71%, 94%)
CMYKcmyk(36.4%, 70.7%, 0%, 6.3%)
CIE-LABlab(48.62, 64.58, -71.55)
CIE-LCHlch(48.62, 96.39, 312.07°)
OKLaboklab(58.58% 0.1247 -0.204)
OKLCHoklch(58.58% 0.239 301.4)
XYZxyz(30.7153, 17.2876, 83.3633)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9846EF #9DEF46
analogous
#4648EF #9846EF #EC46EF
triadic
#9846EF #EF9846 #46EF98
tetradic
#9846EF #EF4648 #9DEF46 #46EFEC
square
#9846EF #EF4648 #9DEF46 #46EFEC
split-complementary
#9846EF #EFEC46 #48EF46
monochromatic
#5B0FAC #7914E4 #9846EF #B77EF4 #D7B7F9

Accessibility & contrast

On white

4.71
#9846EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9846EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9846EF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9846EF#FFFFFF#000000##FFFFFF
##9846EF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#856F96
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9846ef;
/* rgb */ color: rgb(152, 70, 239);
/* oklch */ color: oklch(58.6% 0.239 301.4);
Tailwind
colors: {
  custom: {
    50: '#bd80f5',
    500: '#9846ef',
    950: '#000000',
  },
}
SCSS
$custom: #9846ef;
$custom-light: #bd80f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9846ef",
  "rgb": {
    "r": 152,
    "g": 70,
    "b": 239
  },
  "hsl": {
    "h": 269.112,
    "s": 84.08,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58584,
    "c": 0.23909,
    "h": 301.4
  },
  "luminance": 0.17288
}

Semantic roles & 50–950 ramp

primary
#9846EF
secondary
#C9E9A8
accent
#E10576
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9846EF

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

Preview Lab → · Contrast checker → · Palette generator →

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