#7847BD#7847BD

#7847BD is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.5% C 0.178 H 299.2°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#7847BD
RGBrgb(120, 71, 189)
HSLhsl(265, 47%, 51%)
HSVhsv(265, 62%, 74%)
CMYKcmyk(36.5%, 62.4%, 0%, 25.9%)
CIE-LABlab(41.49, 45.48, -54.63)
CIE-LCHlch(41.49, 71.09, 309.78°)
OKLaboklab(51.52% 0.0867 -0.1553)
OKLCHoklch(51.52% 0.178 299.2)
XYZxyz(19.1820, 12.1735, 49.4734)
Luminance0.1217 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847BD #8CBD47
analogous
#4751BD #7847BD #B347BD
triadic
#7847BD #BD7847 #47BD78
tetradic
#7847BD #BD4751 #8CBD47 #47BDB3
square
#7847BD #BD4751 #8CBD47 #47BDB3
split-complementary
#7847BD #BDB347 #51BD47
monochromatic
#3F2465 #5B3492 #7847BD #9974CD #BAA1DD

Accessibility & contrast

On white

6.11
#7847BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#7847BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847BD
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847BD#FFFFFF#000000##FFFFFF
##7847BD1.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#1461BA
Tritanopia (blue-blind)
#69617B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7847bd;
/* rgb */ color: rgb(120, 71, 189);
/* oklch */ color: oklch(51.5% 0.178 299.2);
Tailwind
colors: {
  custom: {
    50: '#a47dd2',
    500: '#7847bd',
    950: '#000000',
  },
}
SCSS
$custom: #7847bd;
$custom-light: #a47dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7847bd",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 264.915,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.51518,
    "c": 0.17787,
    "h": 299.2
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#7847BD
secondary
#B4CA96
accent
#D7519F
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7847BD

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

Preview Lab → · Contrast checker → · Palette generator →

#7847BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva