#7847BB#7847BB

#7847BB is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.4% C 0.175 H 299.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7847BB
RGBrgb(120, 71, 187)
HSLhsl(265, 46%, 51%)
HSVhsv(265, 62%, 73%)
CMYKcmyk(35.8%, 62%, 0%, 26.7%)
CIE-LABlab(41.35, 44.96, -53.68)
CIE-LCHlch(41.35, 70.03, 309.95°)
OKLaboklab(51.38% 0.0868 -0.1525)
OKLCHoklch(51.38% 0.176 299.6)
XYZxyz(18.9664, 12.0872, 48.3379)
Luminance0.1209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847BB #8ABB47
analogous
#4750BB #7847BB #B247BB
triadic
#7847BB #BB7847 #47BB78
tetradic
#7847BB #BB4750 #8ABB47 #47BBB2
square
#7847BB #BB4750 #8ABB47 #47BBB2
split-complementary
#7847BB #BBB247 #50BB47
monochromatic
#3F2563 #5B3590 #7847BB #9974CC #BAA0DC

Accessibility & contrast

On white

6.15
#7847BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#7847BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847BB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847BB#FFFFFF#000000##FFFFFF
##7847BB1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#1961B8
Tritanopia (blue-blind)
#69607A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7847bb;
/* rgb */ color: rgb(120, 71, 187);
/* oklch */ color: oklch(51.4% 0.175 299.6);
Tailwind
colors: {
  custom: {
    50: '#a37dd0',
    500: '#7847bb',
    950: '#000000',
  },
}
SCSS
$custom: #7847bb;
$custom-light: #a37dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7847bb",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 187
  },
  "hsl": {
    "h": 265.345,
    "s": 46.032,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51376,
    "c": 0.1755,
    "h": 299.6
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#7847BB
secondary
#B3C995
accent
#D6529E
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#100A14
muted
#7F7C82

Preview Lab

Preview with #7847BB

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

Preview Lab → · Contrast checker → · Palette generator →

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