#9847CF#9847CF

#9847CF is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.205 H 308.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9847CF
RGBrgb(152, 71, 207)
HSLhsl(276, 59%, 55%)
HSVhsv(276, 66%, 81%)
CMYKcmyk(26.6%, 65.7%, 0%, 18.8%)
CIE-LABlab(46.56, 56.83, -56.70)
CIE-LCHlch(46.56, 80.27, 315.07°)
OKLaboklab(56.41% 0.1279 -0.1603)
OKLCHoklch(56.41% 0.205 308.6)
XYZxyz(26.4623, 15.6873, 60.6533)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847CF #7ECF47
analogous
#5447CF #9847CF #CF47C2
triadic
#9847CF #CF9847 #47CF98
tetradic
#9847CF #CF5447 #7ECF47 #47C2CF
square
#9847CF #CF5447 #7ECF47 #47C2CF
split-complementary
#9847CF #C2CF47 #47CF54
monochromatic
#57207B #792DAC #9847CF #B378DC #CEA8E8

Accessibility & contrast

On white

5.08
#9847CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9847CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847CF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847CF#FFFFFF#000000##FFFFFF
##9847CF1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#2E6FCC
Tritanopia (blue-blind)
#906485
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9847cf;
/* rgb */ color: rgb(152, 71, 207);
/* oklch */ color: oklch(56.4% 0.205 308.6);
Tailwind
colors: {
  custom: {
    50: '#ba80de',
    500: '#9847cf',
    950: '#000000',
  },
}
SCSS
$custom: #9847cf;
$custom-light: #ba80de;
$custom-dark: #000000;
JSON
{
  "hex": "#9847cf",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 275.735,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56413,
    "c": 0.20508,
    "h": 308.6
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#9847CF
secondary
#B3D69C
accent
#E24685
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9847CF

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

Preview Lab → · Contrast checker → · Palette generator →

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