#7847BF#7847BF

#7847BF is a mid, vivid violet. Relative luminance 0.123; OKLCH L 51.7% C 0.180 H 298.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7847BF
RGBrgb(120, 71, 191)
HSLhsl(265, 48%, 51%)
HSVhsv(265, 63%, 75%)
CMYKcmyk(37.2%, 62.8%, 0%, 25.1%)
CIE-LABlab(41.63, 46.00, -55.58)
CIE-LCHlch(41.63, 72.15, 309.61°)
OKLaboklab(51.66% 0.0866 -0.1581)
OKLCHoklch(51.66% 0.18 298.7)
XYZxyz(19.4006, 12.2609, 50.6246)
Luminance0.1226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7847BF #8EBF47
analogous
#4752BF #7847BF #B447BF
triadic
#7847BF #BF7847 #47BF78
tetradic
#7847BF #BF4752 #8EBF47 #47BFB4
square
#7847BF #BF4752 #8EBF47 #47BFB4
split-complementary
#7847BF #BFB447 #52BF47
monochromatic
#402468 #5B3495 #7847BF #9974CF #BBA2DF

Accessibility & contrast

On white

6.08
#7847BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#7847BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7847BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7847BF#FFFFFF#000000##FFFFFF
##7847BF1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#0E61BC
Tritanopia (blue-blind)
#68617C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #7847bf;
/* rgb */ color: rgb(120, 71, 191);
/* oklch */ color: oklch(51.7% 0.180 298.7);
Tailwind
colors: {
  custom: {
    50: '#a47dd3',
    500: '#7847bf',
    950: '#000000',
  },
}
SCSS
$custom: #7847bf;
$custom-light: #a47dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7847bf",
  "rgb": {
    "r": 120,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 264.5,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51661,
    "c": 0.18025,
    "h": 298.7
  },
  "luminance": 0.12261
}

Semantic roles & 50–950 ramp

primary
#7847BF
secondary
#B6CB96
accent
#D850A0
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #7847BF

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

Preview Lab → · Contrast checker → · Palette generator →

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