#9847E8#9847E8

#9847E8 is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 58.2% C 0.231 H 302.8°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9847E8
RGBrgb(152, 71, 232)
HSLhsl(270, 78%, 59%)
HSVhsv(270, 69%, 91%)
CMYKcmyk(34.5%, 69.4%, 0%, 9%)
CIE-LABlab(48.27, 62.51, -68.18)
CIE-LCHlch(48.27, 92.50, 312.52°)
OKLaboklab(58.18% 0.1249 -0.1941)
OKLCHoklch(58.18% 0.231 302.8)
XYZxyz(29.7642, 17.0080, 78.0431)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847E8 #97E847
analogous
#4747E8 #9847E8 #E847E8
triadic
#9847E8 #E89847 #47E898
tetradic
#9847E8 #E84747 #97E847 #47E8E8
square
#9847E8 #E84747 #97E847 #47E8E8
split-complementary
#9847E8 #E8E847 #47E847
monochromatic
#5B14A1 #791BD7 #9847E8 #B67DEF #D5B4F6

Accessibility & contrast

On white

4.77
#9847E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9847E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847E8
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847E8#FFFFFF#000000##FFFFFF
##9847E81.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0072E5
Tritanopia (blue-blind)
#886D93
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9847e8;
/* rgb */ color: rgb(152, 71, 232);
/* oklch */ color: oklch(58.2% 0.231 302.8);
Tailwind
colors: {
  custom: {
    50: '#bc80f0',
    500: '#9847e8',
    950: '#000000',
  },
}
SCSS
$custom: #9847e8;
$custom-light: #bc80f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9847e8",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 270.186,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58176,
    "c": 0.23079,
    "h": 302.8
  },
  "luminance": 0.17008
}

Semantic roles & 50–950 ramp

primary
#9847E8
secondary
#C5E5A6
accent
#F43493
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9847E8

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

Preview Lab → · Contrast checker → · Palette generator →

#9847E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva