#9847DE#9847DE

#9847DE is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.5% C 0.221 H 304.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9847DE
RGBrgb(152, 71, 222)
HSLhsl(272, 70%, 57%)
HSVhsv(272, 68%, 87%)
CMYKcmyk(31.5%, 68%, 0%, 12.9%)
CIE-LABlab(47.57, 60.21, -63.65)
CIE-LCHlch(47.57, 87.62, 313.41°)
OKLaboklab(57.45% 0.1263 -0.1808)
OKLCHoklch(57.45% 0.221 304.9)
XYZxyz(28.3840, 16.4560, 70.7741)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847DE #8DDE47
analogous
#4C47DE #9847DE #DE47D9
triadic
#9847DE #DE9847 #47DE98
tetradic
#9847DE #DE4C47 #8DDE47 #47D9DE
square
#9847DE #DE4C47 #8DDE47 #47D9DE
split-complementary
#9847DE #D9DE47 #47DE4C
monochromatic
#5A1A91 #7A23C5 #9847DE #B57BE7 #D2AFF1

Accessibility & contrast

On white

4.89
#9847DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9847DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847DE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847DE#FFFFFF#000000##FFFFFF
##9847DE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE2
Deuteranopia (green-blind)
#0A71DB
Tritanopia (blue-blind)
#8B698D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9847de;
/* rgb */ color: rgb(152, 71, 222);
/* oklch */ color: oklch(57.5% 0.221 304.9);
Tailwind
colors: {
  custom: {
    50: '#bb80e9',
    500: '#9847de',
    950: '#000000',
  },
}
SCSS
$custom: #9847de;
$custom-light: #bb80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9847de",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 222
  },
  "hsl": {
    "h": 272.185,
    "s": 69.585,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57453,
    "c": 0.22052,
    "h": 304.9
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#9847DE
secondary
#BEDFA2
accent
#EC3B8D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9847DE

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

Preview Lab → · Contrast checker → · Palette generator →

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