#9847F0#9847F0

#9847F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.8% C 0.239 H 301.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9847F0
RGBrgb(152, 71, 240)
HSLhsl(269, 85%, 61%)
HSVhsv(269, 70%, 94%)
CMYKcmyk(36.7%, 70.4%, 0%, 5.9%)
CIE-LABlab(48.85, 64.37, -71.74)
CIE-LCHlch(48.85, 96.39, 311.90°)
OKLaboklab(58.77% 0.1236 -0.2045)
OKLCHoklch(58.77% 0.239 301.1)
XYZxyz(30.9265, 17.4730, 84.1645)
Luminance0.1747 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847F0 #9FF047
analogous
#474AF0 #9847F0 #EC47F0
triadic
#9847F0 #F09847 #47F098
tetradic
#9847F0 #F0474A #9FF047 #47F0EC
square
#9847F0 #F0474A #9FF047 #47F0EC
split-complementary
#9847F0 #F0EC47 #4AF047
monochromatic
#5B0EAE #7913E7 #9847F0 #B880F5 #D7B8F9

Accessibility & contrast

On white

4.67
#9847F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9847F0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847F0
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847F0#FFFFFF#000000##FFFFFF
##9847F01.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F5
Deuteranopia (green-blind)
#0073ED
Tritanopia (blue-blind)
#857097
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9847f0;
/* rgb */ color: rgb(152, 71, 240);
/* oklch */ color: oklch(58.8% 0.239 301.1);
Tailwind
colors: {
  custom: {
    50: '#bd81f6',
    500: '#9847f0',
    950: '#000000',
  },
}
SCSS
$custom: #9847f0;
$custom-light: #bd81f6;
$custom-dark: #000000;
JSON
{
  "hex": "#9847f0",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 240
  },
  "hsl": {
    "h": 268.757,
    "s": 84.925,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58771,
    "c": 0.23898,
    "h": 301.1
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#9847F0
secondary
#CBE9AA
accent
#E10477
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85

Preview Lab

Preview with #9847F0

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

Preview Lab → · Contrast checker → · Palette generator →

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