#9847CE#9847CE

#9847CE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.3% C 0.204 H 308.8°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#9847CE
RGBrgb(152, 71, 206)
HSLhsl(276, 58%, 54%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.2%, 65.5%, 0%, 19.2%)
CIE-LABlab(46.50, 56.60, -56.23)
CIE-LCHlch(46.50, 79.78, 315.19°)
OKLaboklab(56.35% 0.128 -0.1589)
OKLCHoklch(56.35% 0.204 308.8)
XYZxyz(26.3405, 15.6386, 60.0115)
Luminance0.1564 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847CE #7DCE47
analogous
#5547CE #9847CE #CE47C1
triadic
#9847CE #CE9847 #47CE98
tetradic
#9847CE #CE5547 #7DCE47 #47C1CE
square
#9847CE #CE5547 #7DCE47 #47C1CE
split-complementary
#9847CE #C1CE47 #47CE55
monochromatic
#56217A #782DAA #9847CE #B377DB #CEA8E8

Accessibility & contrast

On white

5.09
#9847CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9847CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847CE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847CE#FFFFFF#000000##FFFFFF
##9847CE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD2
Deuteranopia (green-blind)
#2F6FCB
Tritanopia (blue-blind)
#906384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9847ce;
/* rgb */ color: rgb(152, 71, 206);
/* oklch */ color: oklch(56.3% 0.204 308.8);
Tailwind
colors: {
  custom: {
    50: '#ba7fde',
    500: '#9847ce',
    950: '#000000',
  },
}
SCSS
$custom: #9847ce;
$custom-light: #ba7fde;
$custom-dark: #000000;
JSON
{
  "hex": "#9847ce",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 276,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56346,
    "c": 0.20405,
    "h": 308.8
  },
  "luminance": 0.15638
}

Semantic roles & 50–950 ramp

primary
#9847CE
secondary
#B3D59C
accent
#E14784
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9847CE

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

Preview Lab → · Contrast checker → · Palette generator →

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