#9847CD#9847CD

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

Color values

HEX#9847CD
RGBrgb(152, 71, 205)
HSLhsl(276, 57%, 54%)
HSVhsv(276, 65%, 80%)
CMYKcmyk(25.9%, 65.4%, 0%, 19.6%)
CIE-LABlab(46.43, 56.38, -55.75)
CIE-LCHlch(46.43, 79.29, 315.32°)
OKLaboklab(56.28% 0.128 -0.1576)
OKLCHoklch(56.28% 0.203 309.1)
XYZxyz(26.2194, 15.5901, 59.3737)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847CD #7CCD47
analogous
#5547CD #9847CD #CD47BF
triadic
#9847CD #CD9847 #47CD98
tetradic
#9847CD #CD5547 #7CCD47 #47BFCD
square
#9847CD #CD5547 #7CCD47 #47BFCD
split-complementary
#9847CD #BFCD47 #47CD55
monochromatic
#562179 #782EA9 #9847CD #B377DA #CEA7E7

Accessibility & contrast

On white

5.10
#9847CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#9847CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847CD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847CD#FFFFFF#000000##FFFFFF
##9847CD1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#316FCA
Tritanopia (blue-blind)
#906384
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9847cd;
/* rgb */ color: rgb(152, 71, 205);
/* oklch */ color: oklch(56.3% 0.203 309.1);
Tailwind
colors: {
  custom: {
    50: '#ba7fdd',
    500: '#9847cd',
    950: '#000000',
  },
}
SCSS
$custom: #9847cd;
$custom-light: #ba7fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#9847cd",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 276.269,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.20303,
    "h": 309.1
  },
  "luminance": 0.1559
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9847CD

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

Preview Lab → · Contrast checker → · Palette generator →

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