#9847D3#9847D3

#9847D3 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.7% C 0.209 H 307.6°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#9847D3
RGBrgb(152, 71, 211)
HSLhsl(275, 61%, 55%)
HSVhsv(275, 66%, 83%)
CMYKcmyk(28%, 66.4%, 0%, 17.3%)
CIE-LABlab(46.82, 57.72, -58.57)
CIE-LCHlch(46.82, 82.23, 314.58°)
OKLaboklab(56.68% 0.1275 -0.1658)
OKLCHoklch(56.68% 0.209 307.6)
XYZxyz(26.9576, 15.8854, 63.2614)
Luminance0.1588 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9847D3 #82D347
analogous
#5247D3 #9847D3 #D347C8
triadic
#9847D3 #D39847 #47D398
tetradic
#9847D3 #D35247 #82D347 #47C8D3
square
#9847D3 #D35247 #82D347 #47C8D3
split-complementary
#9847D3 #C8D347 #47D352
monochromatic
#571F81 #792BB2 #9847D3 #B478DF #CFAAEB

Accessibility & contrast

On white

5.03
#9847D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#9847D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9847D3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9847D3#FFFFFF#000000##FFFFFF
##9847D31.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#2870D0
Tritanopia (blue-blind)
#8F6587
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #9847d3;
/* rgb */ color: rgb(152, 71, 211);
/* oklch */ color: oklch(56.7% 0.209 307.6);
Tailwind
colors: {
  custom: {
    50: '#bb80e1',
    500: '#9847d3',
    950: '#000000',
  },
}
SCSS
$custom: #9847d3;
$custom-light: #bb80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9847d3",
  "rgb": {
    "r": 152,
    "g": 71,
    "b": 211
  },
  "hsl": {
    "h": 274.714,
    "s": 61.404,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56685,
    "c": 0.20921,
    "h": 307.6
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#9847D3
secondary
#B6D89E
accent
#E54387
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9847D3

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

Preview Lab → · Contrast checker → · Palette generator →

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